Re: RFC: Short syntax for Arrays (redux)
| From: | Stas Malyshev | Date: | Tue, 31 May 2011 21:39:11 +0000 |
| Subject: | Re: RFC: Short syntax for Arrays (redux) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52585@lists.php.net to get a copy of this message | ||
Hi!
It is worth noting that point you bring up is one that is present in PHP currently: php > print_r(json_decode(json_encode(array('a' => 'b')))); stdClass Object (json_decode has an option for that, see php.net/json_decode -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227[a] => b)