|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2008-12-17 14:47 UTC] scottmac@php.net
 | |||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ as a number literal, 0e0 is valid JSON. json_decode translates it into NULL Reproduce code: --------------- ~$ php <? var_dump(json_decode('{"zero": 0e0}')) ?> Expected result: ---------------- something like: object(stdClass)#1 (1) { ["zero"]=> float(0) } Actual result: -------------- NULL