Reply to Re: [PHP]PHP Syntax Notation

Your name:

Reply:


Posted by Lowell Herbert on 09/27/05 23:29

On Sep 27, 2005, at 4:19 PM, Jasper Bryant-Greene wrote:

> Lowell Herbert wrote:
>
>> Thanks for all the responses. I understand that $site is an
>> instance of the class CSite, and that Run() is a function in that
>> class. I do not understand what the operater "->" means, and
>> what meaning the result of the function Run() has to $site.
>> Clarification anyone?
>>
>
> The operator -> in this context ( $site->Run() ) sort of means "the
> function Run() inside the object $site".
>
> The result of the function (if there is one) is thrown away,
> because you don't assign it to anything. If you did this then it
> would be assigned to something:
>
> $result = $site->Run();
>

Thank you for your clear explanation!!!
Lowell

[Back to original 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

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