note 96310 deleted from function.json-decode by googleguy

From: Date: Fri, 30 Nov 2012 05:41:28 +0000
Subject: note 96310 deleted from function.json-decode by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192214@lists.php.net to get a copy of this message
Note Submitter: CraigHarris at gmail dot com ---- Be aware that json_decode() will return null if you pass it a JSON encoded string. <?php echo json_encode('Some String'); ?> "Some String" <?php echo json_decode(json_encode('Some String')); ?> NULL <?php // expected output ?> Some String

« previous php.notes (#192214) next »