NYCPHP Meetup

NYPHP.org

[nycphp-talk] self:: or $this ?

Cliff Hirsch cliff at pinestream.com
Fri Nov 9 15:28:16 EST 2007


> Any reason why I should use $this->methodName()  over self::methodName()
> 
> Or is the self::methodName() reserved only for working within a static
> method?

Self is for static methods and properties.





More information about the talk mailing list