3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { public static function __callStatic() { return 'x'; } } class Bar extends Foo { public function __call() { return 'y'; } } var_dump(Foo::x()); var_dump((new Bar)->x());
Output for 5.3.0 - 5.4.29
Fatal error: Method Foo::__callstatic() must take exactly 2 arguments in /in/XlUfe on line 5
Process exited with code 255.