Re: [PHP4BETA] Feature Request: Allow comma after the last element in array
| From: | Andi Gutmans | Date: | Mon, 13 Mar 2000 13:18:50 +0000 |
| Subject: | Re: [PHP4BETA] Feature Request: Allow comma after the last element in array | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12047@lists.php.net to get a copy of this message | ||
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.
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!
>
>
> Thanks!
>
> Faisal
>
>
>