Page 1 of 1

When to use self vs $this?

Posted: Tue Mar 18, 2014 11:33 am
by jangmi
In PHP 5, what is the difference between using self and

Code: Select all

$this?
When is each appropriate?

Re: When to use self vs $this?

Posted: Tue Mar 18, 2014 11:49 am
by Celauran