note 125505 added to function.json-decode

From: Date: Wed, 11 Nov 2020 13:18:17 +0000
Subject: note 125505 added to function.json-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-215836@lists.php.net to get a copy of this message
Warning: As the section "return values" mentions, the return value NULL is ambiguos. To repeat, it can mean three things: * The input string had the value "null" * There was an error while parsing the input data * The encoded data was deeper than the recursion limit To distinguish these cases, json_last_error() can be used. ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.174 (proxied: 2003:f6:770f:b200:25c3:8f73:8788:9f97) ---- Manual Page -- http://php.net/manual/en/function.json-decode.php Edit -- https://master.php.net/note/edit/125505 Del: integrated -- https://master.php.net/note/delete/125505/integrated Del: useless -- https://master.php.net/note/delete/125505/useless Del: bad code -- https://master.php.net/note/delete/125505/bad+code Del: spam -- https://master.php.net/note/delete/125505/spam Del: non-english -- https://master.php.net/note/delete/125505/non-english Del: in docs -- https://master.php.net/note/delete/125505/in+docs Del: other reasons-- https://master.php.net/note/delete/125505 Reject -- https://master.php.net/note/reject/125505 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#215836) next »