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 :: [EMAIL PROTECTED] :: http://IonZoft.com __________________________________________________________

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to