Re: [PHP] An array curiosity....

2004-01-26 Thread Robert Cummings
On Mon, 2004-01-26 at 09:57, joel boonstra wrote: > On Mon, Jan 26, 2004 at 08:50:51AM -0600, Jay Blanchard wrote: > > Out of curiosity, and because I have never noted this in other > > languages, why doesn't an 'open' comma at the end of an array throw any > > kind of error? Is it because the comm

Re: [PHP] An array curiosity....

2004-01-26 Thread joel boonstra
On Mon, Jan 26, 2004 at 08:50:51AM -0600, Jay Blanchard wrote: > Out of curiosity, and because I have never noted this in other > languages, why doesn't an 'open' comma at the end of an array throw any > kind of error? Is it because the comma denotes another element in the > array even if nothing i

[PHP] An array curiosity....

2004-01-26 Thread Jay Blanchard
Out of curiosity, and because I have never noted this in other languages, why doesn't an 'open' comma at the end of an array throw any kind of error? Is it because the comma denotes another element in the array even if nothing is their? For example $arrBadInfo = array( 'stuff ',