3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php abstract class Parent { public static $test = 'one'; public static function get() { return static::$test; } } class Child extends Parent { public static $test = 'two'; } var_dump(Child::get());
Output for 5.3.0 - 5.4.29
Fatal error: Cannot use 'Parent' as class name as it is reserved in /in/05euM on line 3
Process exited with code 255.