3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_NOTICE | E_STRICT); class a { public function test($aArug) { echo $aArug; } } class b extends a { public function test($newName) { echo $newName; } } $b = new b(); $b->test();
based on aLI9t
Output for 7.1.0 - 7.2.0

Process exited with code 255.
Output for 5.3.19 - 7.0.20
Notice: Undefined variable: newName in /in/bEvlS on line 14