Re: PHP equivalent of "foreach"

From: Date: Sat, 20 May 2000 11:08:39 +0000
Subject: Re: PHP equivalent of "foreach"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229@lists.php.net to get a copy of this message
PHP4 does have foreach()! see control-structures.foreach.html in the Docs. Patrick Meisel > Does PHP have an equivalent of the Perl function "foreach". Heres and > example (Perl code): > > foreach $line (@filedata) { > stuff > } > > How could I convert that to PHP? > > Thanks > Adam > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#229) next »