|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-02-02 13:31 UTC] shagren at ua dot fm
Description:
------------
In old versions(i try 4.3.2 cgi) and 5.0 is_numeric("-.12") return "1", but in 4.3.10(apache/mod_php) result are false(bool).
Reproduce code:
---------------
<?
echo is_numeric("-.12");
?>
Expected result:
----------------
1
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 13:00:01 2025 UTC |
I try this versions on Windows(mod_php/apache2, CGI/IIS) and Linux(CGI) and all good. is_numeric("-.12") return 1.