Re: Array Question

From: Date: Thu, 17 Jun 2004 08:33:39 +0000
Subject: Re: Array Question
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-10562@lists.php.net to get a copy of this message
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 feature that should not be used? It's an undocumented feature AFAIK. Derick

« previous php.internals (#10562) next »