3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class X { public static function x() { echo 'x'; } } X::x();
Output for 5.3.0 - 5.4.17
Fatal error: Constructor X::x() cannot be static in /in/J6la7 on line 6
Process exited with code 255.