Edit report at http://bugs.php.net/bug.php?id=51281&edit=1

 ID:              51281
 User updated by: olamedia at gmail dot com
 Reported by:     olamedia at gmail dot com
 Summary:         Json-like alternative syntax for arrays
 Status:          Open
 Type:            Feature/Change Request
-Package:         *General Issues
+Package:         Arrays related
 PHP Version:     5.3.2

 New Comment:

Changing package


Previous Comments:
------------------------------------------------------------------------
[2010-03-12 09:18:17] olamedia at gmail dot com

Description:
------------
Json-like alternative syntax for arrays feature request.

It's much shorter, and don't have conflicts with current tokens.

Test script:
---------------
$a = [1,2];

$a = ['a':1,'b':2];

$a = array('a':1,'b':2);

$a = array('a'=>1,'b'=>2);

$a = ['a'=>1,'b'=>2];



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51281&edit=1

Reply via email to