|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-10-07 13:52 UTC] inefedor at gmail dot com
[2014-10-07 14:04 UTC] php at xkr dot es
[2014-10-08 01:51 UTC] datibbaw@php.net
[2014-10-08 08:19 UTC] php at xkr dot es
[2014-10-08 15:00 UTC] cmbecker69 at gmx dot de
[2014-10-23 18:10 UTC] aharvey@php.net
-Package: PHP Language Specification
+Package: Scripting Engine problem
[2014-10-23 18:10 UTC] aharvey@php.net
[2017-08-05 04:55 UTC] stas@php.net
-Status: Open
+Status: Suspended
[2017-08-05 04:55 UTC] stas@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 14:00:01 2025 UTC |
Description: ------------ It will be fine if native support of JSON blocks will be added in the future to the language specification. The functions json_encode and json_decode provides the functionality, but it will be better if they were native supported. For example, instead of doing: $a=Array(Array("a"=>"b","c"=>CONST,"d"=>null),Array("e"=>1.23),Array("f"=>true)); You could do: $a=[{"a":"b","c":CONST,"d":null},{"e":1.23},{"f":true}]; As you can see, JSON it's very compact and it's easy to read, also it distinguishes about arrays and hashes, so its better to understand. I hope this comment will be considered for next versions. Best regards.