3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { private static function method() { echo "OK"; } public static function test() { call_user_func(array('self', 'method')); } } Test::test();
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.14
Fatal error: Constructor Test::test() cannot be static in /in/E7n49 on line 10
Process exited with code 255.