Re: Proposal: Array syntax

From: Date: Wed, 05 Nov 2003 18:30:25 +0000
Subject: Re: Proposal: Array syntax
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-5260@lists.php.net to get a copy of this message
I like some of the Python syntax. But some of it is cumbersome. Same with PHP. But I think PHP is closer to what I want so what's wrong with trying to improve it where it's possible (and easily done)?
agree, and you can easily make PHP code not readable with such improvements. again, I can't understand why PHP should have another way of creating new arrays. there are so many things you can improve in PHP - why did you choose to change the syntax? Cause array() really is used very often, and could be made much more "pretty" (read: readable, expressive) with [].
Cheers, Michael PS: there was static without the keyword in ZE1.

« previous php.internals (#5260) next »