|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-18 21:31 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 17:00:01 2025 UTC |
Description: ------------ json_decode() doesn't decode json data that contains comments. Reproduce code: --------------- var_dump(json_decode("{ /* comment inside */ }")); Expected result: ---------------- object(stdClass)(0) { } Actual result: -------------- NULL