In PHP 5, what is the difference between using self and $this?
When is each appropriate?
From this blog post:
selfrefers to the current classselfcan be used to call static functions and reference static member variablesselfcan be used inside static functionsselfcan also turn off polymorphic behavior by bypassing the vtable$thisrefers to the current object$thiscan be used to call static functions$thisshould not be used to call static member variables. Useselfinstead.$thiscan not be used inside static functions