Re: Newbie question about operators

From: Date: Thu, 08 Apr 2004 00:22:40 +0000
Subject: Re: Newbie question about operators
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182757@lists.php.net to get a copy of this message
it is refering to the associative array, specifically the $key => $value . Note here (http://www.php.net/manual/en/language.types.array.php). Respectfully, Ligaya Turmelle "Gabe" <ydnahg-news4432@mailblocks.com> wrote in message news:20040407211122.96087.qmail@pb1.pair.com... > Looking at the code below, what exactly is happening with the $name=>$value > part? I looked in the PHP online documentation and I can't find that > operator. What is it doing exactly and what is it called? > > foreach ($some_array as $name=>$value) > { > ... some code ... > } > > Thanks alot!

« previous php.general (#182757) next »