Situation:
Class A{
public function F(){
var_dump($this);
}
}
A::F();
When doing this I get PHP Fatal error:Uncaught Error: Using $this when not in object context.
Thx!
$this
is not available in static calls, you need to use self::
but keep in mind these are not interchangeable equivalents.