- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.22
- Fatal error: Cannot make static method A::wtf() non static in class B in /in/Al1lk on line 13
Process exited with code 255.
<?php
class A {
public static function wtf() {
var_dump($this);
}
}
class B extends A {
public function wtf() {
A::wtf();
}
}
$b = new B();
$b->a();