[nycphp-talk] Accessing First Element of Array

Ken Downs ken at
Sun Aug 26 20:51:06 EDT 2007

look at "each", it is a (mostly deprecate) form of array
iteration.  The sample code in the PHP manual will show exactly what you
are looking for."Michael B Allen" <ioplex at> wrote: 
> Hi, >  > How do you access the first element of an array? I'm
looking for > something like array_shift but without modifying the array.
>  > Mike > _______________________________________________ > New
York PHP Community Talk Mailing List > >  > NYPHPCon 2006
Presentations Online > >  > Show Your
Participation in New York PHP > >
This mail sent using V-webmail -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list