Re: [PHP4BETA] Feature Request: Allow comma after the last elementin array
| From: | Faisal Nasim | Date: | Mon, 13 Mar 2000 15:47:58 +0000 |
| Subject: | Re: [PHP4BETA] Feature Request: Allow comma after the last elementin array | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12059@lists.php.net to get a copy of this message | ||
Hi,
: Should be no problem to implement but I'm not sure I want to do it :)
: I'll wait to hear what other people think.
When are you going to learn to judge things on your own? ;-)
I don't see any problem in it, but always a good idea to
know of any drawbacks.
1 vote from me and 1 vote from my soul....
Enjoy!
:
: Andi
:
: On Mon, 13 Mar 2000, Faisal Nasim wrote:
:
: > Hi,
: >
: > This is probably a minor grammar update! This won't
: > break anything but will make PHP more compliant
: > to C and Perl ;)
: >
: > int blah[3] = { 1 , 2 , 3 , }; // valid
: > @blah = ( 1 , 2 , 3 , ); // valid
: > $a = array ( 1 , 2 , 3 , ); // invalid!