<p>In PHP 5, what is the difference between using <code>self</code> and <code>$this</code>?</p>

<p>When is each appropriate?</p>

According to
Static Keyword
, there isn't any
```
$self
```
. There is only
```
$this
```
, for referring to the current instance of the class (the object), and
```
self
```
, which can be used to refer to static members of a class. The difference between an object instance and a class comes into play here.