Test for bug #45791

This commit is contained in:
Scott MacVicar 2008-12-17 14:46:42 +00:00
parent cae85c867a
commit f3013d0524

View File

@ -0,0 +1,13 @@
--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)
}