Warning: file_put_contents(): Only -1 of 45 bytes written, possibly out of free disk space in /var/www/html/index.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/index.php:3) in /var/www/html/cache.php on line 25
is_float is_integer Variabelen PHP Manual is_int (PHP 4, 5) — Controleer of een variabele integer is Beschrijving bool ( mixed $var ) Geeft TRUE terug als var is, en anders FALSE . Note : Om te c...
Forum und email

is_int

(PHP 4, PHP 5)

is_int — Controleer of een variabele een integer is

Beschrijving

bool is_int ( mixed $var )

Geeft TRUE terug als var een integer is, en anders FALSE.

Note: Om te controleren of een variabel een nummer of een numerieke string is (zoals form input, dat is altijd een string), moet je is_numeric() gebruiken.

Zie ook is_bool(), is_float(), is_integer(), is_numeric(), is_string(), is_array(), en is_object().