3v4l.org

run code in 200+ PHP versions simultaneously
<?php class Null { public static function x() { return 3; } } var_dump(Null::x());
based on jRUfZ
Output for 7.0.0 - 7.1.0
Fatal error: Cannot use 'Null' as class name as it is reserved in /in/giYc4 on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.28
int(3)