note 110322 deleted from function.json-decode by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Oct 2012 21:22:06 +0000 |
| Subject: | note 110322 deleted from function.json-decode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191379@lists.php.net to get a copy of this message | ||
Note Submitter: damian at thebestisp dot com
----
Running php 5.4.4, numeric strings seem to be handled properly.
<?
echo $a=json_encode("00356")."\n";
//"00356"
var_dump(json_decode($a,true));
//string(5) "00356"
?>