3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public function testMethod() { echo "test"; } } class B extends A { public function testMethod() { parent::testMethod(); } } new B())->testMethod();
Output for 5.3.0 - 5.5.2
Parse error: syntax error, unexpected ')' in /in/Agfjc on line 19
Process exited with code 255.