Feature Request: Allow comma after the last element in array
| From: | Faisal Nasim | Date: | Mon, 13 Mar 2000 12:25:31 +0000 |
| Subject: | Feature Request: Allow comma after the last element in array | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12043@lists.php.net to get a copy of this message | ||
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