Re: operators

From: Date: Wed, 28 Dec 2005 21:54:11 +0000
Subject: Re: operators
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-227943@lists.php.net to get a copy of this message
please read http://www.php.net/manual/en/language.oop.php explaining what Objects are exactly (since it's looping over an object property which just so happens to be an array) http://www.php.net/manual/en/control-structures.foreach.php explains what => is (part of foreach()) - tul Henry Krinkle wrote:
I have some experience with PHP, but not with these operators: -> => Can someone explain how they are working in this snippet from Yahoo's search API
    foreach($xml->Result[$i] as $key=>$value) 
I don't see anything about them in the "Array Operators" documentation.. Thanks --------------------------------- Yahoo! for Good - Make a difference this year.


« previous php.general (#227943) next »