ID:               40597
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mail957253 at lemurtastic dot com
-Status:           Open
+Status:           Bogus
-Bug Type:         Feature/Change Request
+Bug Type:         Filter related
 Operating System: Windows XP SP2
 PHP Version:      5.2.1
-Assigned To:      
+Assigned To:      pajoye
 New Comment:

It returns a PHP integer which is limited to 32bits.

If you like to get a string containing a big integer, you can use the
sanitize rule.

Once PHP has 64bits integer support, it will be available in filter as
well.

Not a bug > bogus.


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

[2007-02-22 22:36:02] mail957253 at lemurtastic dot com

Description:
------------
FILTER_VALIDATE_INT should validate anything that normal people
consider an integer as such, rather than being limited to what my
computer can store in 32 bits.

Reproduce code:
---------------
filter_var('2147483648', FILTER_VALIDATE_INT);

Expected result:
----------------
returns '2147483648'

Actual result:
--------------
returns FALSE


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


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

Reply via email to