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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php