News for hackers. Stuff that matters.
Re:PHP 5.5.0 Alpha 6 - Released by Mahn on Friday March 08, 2013 @06:41PM (#5346507)
Because 1) PHP syntax for object literals is non-existent 2) JSON is used in many more places than just Javascript and 3) the syntax of JSON makes sense; it's compact, human readable and easy to write. I'm not suggesting copying it 1:1 verbatim, but something close to JSON would definitely be an improvement. See for example how MongoDB uses a JSON-like syntax to great effect.

There are no comments on this comment yet.