ID: 34002
Updated by: [EMAIL PROTECTED]
Reported By: syncops at hotmail dot com
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 5CVS-2005-08-05 (dev)
New Comment:
This was suggested about a year ago too, and we all thought that we
should not add this behavior. You'll have to deal with array().
Previous Comments:
------------------------------------------------------------------------
[2005-08-05 03:31:15] syncops at hotmail dot com
Description:
------------
I use associative arrays for so many things like function/method
parameters, database records, creating URL's and HTML tags.
I'm looking at tons of array creation code in my application because
the only way to create an array is by using the array("key1"=>"value1",
"key2"=>"value2") construct.
The following construct would be a very good addition and is also used
in other (script)languages:
{"key1"=>"value1", "key2"=>"value2"}.
I sincerely hope there is some way to implemented this new construct.
Thanks for reading this.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34002&edit=1