Re: phpdoc /en/functions array.xml
| From: | Adam Trachtenberg | Date: | Tue, 28 Nov 2000 20:33:17 +0000 |
| Subject: | Re: phpdoc /en/functions array.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969333104@lists.php.net to get a copy of this message | ||
On Tue, 28 Nov 2000, Hojtsy Gabor (@php.net) wrote:
> > [...]
> > I can't say it's a feature or a bug. May be is it worth
> > adding in the doc, isn't?
>
> It is a feature. And is documented somewhere...
Yes, usually most often used as
$foo = array(1 => 'January', 'February', ...);
Now you can pretend PHP is Pascal and arrays begin at 1 instead of 0.
-adam
--
/ adam maccabee trachtenberg | visit college life online \
\ adam@student.net | http://www.student.com /