3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? class A{ public funcrtion __construct(){ echo 'world'; } } class B extends A{ public function __construct(){ echp 'b'; } } $c = new B();
based on OuHDt
Output for 5.6.0 - 7.0.9
Parse error: syntax error, unexpected 'funcrtion' (T_STRING), expecting variable (T_VARIABLE) in /in/fmg5v on line 4
Process exited with code 255.