xref: /PHP-8.1/ext/json/tests/bug45791.phpt (revision 32a1ebbd)
1--TEST--
2Bug #45791 (json_decode() does not handle number 0e0)
3--FILE--
4<?php
5
6var_dump(json_decode('{"zero": 0e0}'));
7
8?>
9--EXPECT--
10object(stdClass)#1 (1) {
11  ["zero"]=>
12  float(0)
13}
14