Array Question
| From: | Jason Garber | Date: | Thu, 17 Jun 2004 08:03:36 +0000 |
| Subject: | Array Question | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10560@lists.php.net to get a copy of this message | ||
Hello,
In PHP4 and PHP5 the following syntax works fine (note the last comma):
array
(
1 => 'bob',
2 => 'sam',
);
Is being able to have a comma at the END of an array definition a supported feature, or an undocumented feature that should not be used?
Thanks,
Jason Garber
__________________________________________________________
Jason Garber
President & Chief Technology Officer
IonZoft, Inc.
814.742.8030 :: jason@ionzoft.com :: http://IonZoft.com
__________________________________________________________