note 118772 deleted from function.json-last-error-msg by tularis

From: Date: Thu, 04 Feb 2016 08:29:03 +0000
Subject: note 118772 deleted from function.json-last-error-msg by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-204844@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- Be aware that in PHP 5 an empty string dies not rise error and in PHP 7 it does (and it should). So content of $error depend on PHP Major version in this case: json_decode(''); $error = json_last_error_msg

« previous php.notes (#204844) next »