Easy Tutorial
❮ Func Mysqli Stmt Init Func Zip Entry Read ❯

PHP FILTER_VALIDATE_INT Filter



Definition and Usage

The FILTER_VALIDATE_INT filter validates values as integers.

Possible options or flags:


Tips and Notes

Note: When specifying options in an array, the options must be stored in an associative multidimensional array named "options". See the example below.


Example

The output of the code is as follows:


❮ Func Mysqli Stmt Init Func Zip Entry Read ❯