ID:               31811
 User updated by:  shagren at ua dot fm
 Reported By:      shagren at ua dot fm
-Status:           Feedback
+Status:           Closed
 Bug Type:         Unknown/Other Function
 Operating System: linux
 PHP Version:      4.3.10
 New Comment:

I try this versions on Windows(mod_php/apache2, CGI/IIS) and Linux(CGI)
and all good. is_numeric("-.12") return 1.


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

[2005-02-02 13:39:47] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

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

[2005-02-02 13:31:02] 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



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


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

Reply via email to