ID:               48266
 Updated by:       johan...@php.net
 Reported By:      zyss at mail dot zp dot ua
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Irrelevant
 PHP Version:      5.2.9
 New Comment:

{} would create simpler lead to conflicts for the parser, but semantics
will be discussed when this feature will be discussed the next time.


Previous Comments:
------------------------------------------------------------------------

[2009-05-13 19:57:57] zyss at mail dot zp dot ua

Description:
------------
One of the most frequently used keywords in PHP is "array".
It would be great to adopt just another construct from C/C++, namely
array constructor using curly brackets { }.
These are cases when PHP code is oversaturated with "array" word.
In this way it would be much easier to write and read PHP code.

I am aware of case #3928 and
http://wiki.php.net/rfc/shortsyntaxforarrays, but I think that curly
brackets would be more suitable than square brackets.

Noone seems to complain of how C/C++ arrays are constructed.



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


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

Reply via email to