ID:               43372
 Updated by:       [EMAIL PROTECTED]
 Reported By:      gbml at bravogroup dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Filter related
 Operating System: linux
 PHP Version:      5.2.5
-Assigned To:      
+Assigned To:      pajoye
 New Comment:

See FILTER_FLAG_ALLOW_OCTAL.


Previous Comments:
------------------------------------------------------------------------

[2007-11-22 10:54:54] gbml at bravogroup dot org

Description:
------------
Filtering input numbers with leading zero(s) and filter
FILTER_VALIDATE_INT does not produce number


Reproduce code:
---------------
// $_POST ["size"] has value "002"

filter_input (INPUT_POST, "size", FILTER_VALIDATE_INT)



Expected result:
----------------
2

Actual result:
--------------
null


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43372&edit=1

Reply via email to