Please move the discussion to php general mailinglist. This is a
usererror, a misunderstanding of is_int vs. is_numeric.

The documentation clearly states, that

is_numeric - Finds whether a variable is a number or a numeric string
is_int - Find whether a variable is an integer

anything within $_REQUEST is a string. Documentation clearly says that
is_int will return false, because a string is not an integer. is_numeric
will return true, because it is a numeric string.

Stefan

-- 
--------------------------------------------------------------------------
 Stefan Esser                                               [EMAIL PROTECTED]
 Hardened-PHP Project                         http://www.hardened-php.net/

 GPG-Key                gpg --keyserver pgp.mit.edu --recv-key 0x15ABDA78
 Key fingerprint       7806 58C8 CFA8 CE4A 1C2C  57DD 4AE1 795E 15AB DA78
--------------------------------------------------------------------------

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to