|  | Posted by Jonas on 06/18/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] |