3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Enum { public static function __callStatic($name) { var_dump($name); return 1; } } var_dump(Enum::ciao());
based on 58ClI
Output for 7.0.0 - 7.1.7
Fatal error: Method Enum::__callStatic() must take exactly 2 arguments in /in/YsBLa on line 7
Process exited with code 255.
Output for hhvm-3.15.4
Fatal error: Uncaught Error: Method Enum::__callStatic() must take exactly 2 arguments in /in/YsBLa:5 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Fatal error: Method Enum::__callstatic() must take exactly 2 arguments in /in/YsBLa on line 8
Process exited with code 255.