3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Parent { private m($arg) {} } class Child extends Parent { private m() {} }
Output for 5.3.0 - 5.4.30
Fatal error: Cannot use 'Parent' as class name as it is reserved in /in/N47FI on line 3
Process exited with code 255.