Re: Array Question
| From: | Andi Gutmans | Date: | Thu, 17 Jun 2004 22:51:53 +0000 |
| Subject: | Re: Array Question | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10578@lists.php.net to get a copy of this message | ||
This is a supported feature as it especially helps with machine generated arrays.
If it's not documented it should be.
Andi
At 04:03 AM 6/17/2004 -0400, Jason Garber wrote:
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
__________________________________________________________
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php