|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-26 22:44 UTC] scottmac@php.net
[2009-03-29 16:43 UTC] iliaa@php.net
[2009-03-29 16:47 UTC] pajoye@php.net
[2009-03-29 21:38 UTC] scottmac@php.net
[2009-03-30 19:47 UTC] iliaa@php.net
[2009-03-31 09:27 UTC] for-bugs at hnw dot jp
[2009-03-31 10:06 UTC] dmitry@php.net
[2009-11-30 19:52 UTC] svn@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Although -2147483648 is the minimum integer in 32bit environment, FILTER_VALIDATE_INT says -2147483648 is invalid as integer. Reproduce code: --------------- <?php var_dump(intval("-2147483648")); var_dump(filter_var("-2147483648", FILTER_VALIDATE_INT)); Expected result: ---------------- int(-2147483648) int(-2147483648) Actual result: -------------- int(-2147483648) bool(false)