Re: [PHP-DEV] Array Question

2004-06-17 Thread Jason Garber
Cool. Thanks for updating the docs. I think it will save confusion with others in the future. ~Jason At 6/17/2004 11:34 PM +0200, Mehdi Achour wrote: This is now [1] a fixed documentation bug :) I didn't find anything about it in the ChangeLog, nor bugs.php.net, so I didn't include any version i

Re: [PHP-DEV] Array Question

2004-06-17 Thread Andi Gutmans
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

Re: [PHP-DEV] Array Question

2004-06-17 Thread Jay Smith
Mehdi Achour wrote: > This is now [1] a fixed documentation bug :) > I didn't find anything about it in the ChangeLog, nor bugs.php.net, > so I didn't include any version information in the docs. > Drop a mail to the documentation list if you figure it out ;) > > didou > > [1] - > http://cvs.php

Re: [PHP-DEV] Array Question

2004-06-17 Thread Mehdi Achour
This is now [1] a fixed documentation bug :) I didn't find anything about it in the ChangeLog, nor bugs.php.net, so I didn't include any version information in the docs. Drop a mail to the documentation list if you figure it out ;) didou [1] - http://cvs.php.net/diff.php/phpdoc/en/reference/array/

Re: [PHP-DEV] Array Question

2004-06-17 Thread Red Wingate
I guess that was <= 4.1.0 as i get errors at work ( 4.0.x ) and everything went fine as i misstyped today using 5.0.0rc3 :-) --red Adam Maccabee Trachtenberg wrote: On Thu, 17 Jun 2004, Jason Garber wrote: Is being able to have a comma at the END of an array definition a supported feature, or

Re: [PHP-DEV] Array Question

2004-06-17 Thread Hartmut Holzgraefe
Robert Cummings wrote: At the end of the array definition or after the last defined array entry? If the latter... good feature. Hope it's there to stay since it makes cutting and pasting to arrays a lot easier and various other automated array building tasks :) thats exactly what it is in for, savi

Re: [PHP-DEV] Array Question

2004-06-17 Thread Robert Cummings
On Thu, 2004-06-17 at 11:20, Adam Maccabee Trachtenberg wrote: > On Thu, 17 Jun 2004, Jason Garber wrote: > > > 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? > > If I remember correctly, Zeev or Andi sp

Re: [PHP-DEV] Array Question

2004-06-17 Thread Adam Maccabee Trachtenberg
On Thu, 17 Jun 2004, Jason Garber wrote: > 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? If I remember correctly, Zeev or Andi specifically added it as a result of a user request, so I'd say it's an undoc

Re: [PHP-DEV] Array Question

2004-06-17 Thread Antony Dovgal
On Thu, 17 Jun 2004 10:33:39 +0200 (CEST) Derick Rethans <[EMAIL PROTECTED]> wrote: > On Thu, 17 Jun 2004, Jason Garber wrote: > > > Hello, > > > > In PHP4 and PHP5 the following syntax works fine (note the last > > comma): > > > > array > > ( > > 1 => 'bob', > > 2 => 'sam', > > ); > >

Re: [PHP-DEV] Array Question

2004-06-17 Thread Derick Rethans
On Thu, 17 Jun 2004, 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 fea