3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Test { function __callStatic($name) { var_dump($name); } } Test::foo(); Test::bar('hello');
Output for 5.3.0 - 5.4.26
Warning: The magic method __callStatic() must have public visibility and be static in /in/Cqjpo on line 4 Fatal error: Method Test::__callstatic() must take exactly 2 arguments in /in/Cqjpo on line 7
Process exited with code 255.