You are here: Re: Where is documentation of '->' syntax? « All PHP « IT news, forums, messages
Re: Where is documentation of '->' syntax?

Posted by Jonas on 10/02/17 11:35

Curtis wrote:
> I've looked all over, including the PHP docs and PHP online,
> but cannot find any discussion of the -> thing. Google-type
> searches are apparently ignoring it.
>
> I see it frequently in code as $this-> whatever, or in the
> form
>
> $something->dothis($foo,$goo);
>
> Can someone kindly steer me to where this is explained?
>
> --
>
> Curtis
>
> Visit We the Thinking
> www.wethethinking.com
> An online magazine/forum
> devoted to philosophical
> thought.
>
>
$something->foo()

$something is the class, foo() the function declared within the class

if you want to learn more about object oriented programming (oop) in php
look at
http://www.php.net/classobj

 

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

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