[nycphp-talk] Accessing First Element of Array
Ken Downs
ken at secdat.com
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 gmail.com> 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 >
http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006
Presentations Online > http://www.nyphpcon.com > > Show Your
Participation in New York PHP >
http://www.nyphp.org/show_participation.php >
_________________________________________________________
This mail sent using V-webmail - http://www.v-webmail.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070826/7b295609/attachment.html>
More information about the talk
mailing list