scottmac                Wed Dec 17 14:46:42 2008 UTC

  Added files:                 
    /php-src/ext/json/tests     bug45791.phpt 
  Log:
  Test for bug #45791
  
  

http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/bug45791.phpt?view=markup&rev=1.1
Index: php-src/ext/json/tests/bug45791.phpt
+++ php-src/ext/json/tests/bug45791.phpt
--TEST--
Bug #45791 (json_decode() does not handle number 0e0)
--FILE--
<?php

var_dump(json_decode('{"zero": 0e0}'));

?>
--EXPECT--
object(stdClass)#1 (1) {
  [u"zero"]=>
  float(0)
}



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to