note 97124 deleted from function.json-decode by googleguy

From: Date: Sat, 19 Jan 2013 03:39:53 +0000
Subject: note 97124 deleted from function.json-decode by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193214@lists.php.net to get a copy of this message
Note Submitter: php dot net at spam dot lublink dot net ---- If the JSON is coming from javascript watch out for undefined variables : Javascript ( using dojo ) returns this to me sometimes : { "index" : [undefined] } When I pass this to json_decode, it returns null. Make sure that you check all your javascript variables properly because this can break whatever it is you are doing.

« previous php.notes (#193214) next »