Hacker News new | ask | show | jobs
by m_t 2133 days ago
Yeah but to quote stackoverflow:

> Use $this to refer to the current object. Use self to refer to the current class. In other words, use $this->member for non-static members, use self::$member for static members.

This is a different way of doing things, yes, but it makes sense.