You are here: Re: operators « PHP « IT news, forums, messages
Re: operators

Posted by "M. Sokolewicz" on 12/28/05 23:54

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация