3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { function __callStatic($a,$b){ } }
Output for 5.3.0 - 5.6.25, 7.0.0 - 7.1.0
Warning: The magic method __callStatic() must have public visibility and be static in /in/lm7Xr on line 4
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Method A::__callStatic() must have public visibility and be static in /in/lm7Xr:4 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.0
Fatal error: Method A::__callStatic() must have public visibility and be static in /in/lm7Xr on line 4
Process exited with code 255.
Output for 4.3.0 - 5.2.17