$xml->Result[$i]  - a method call for object $xml
$key=>$value      - array notation

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.

--

life is a game... so have fun.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to