3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class A { public static function a() { } } function a (callable $a) { } a('a'); a(array('A', 'a'));
Output for 5.3.0 - 5.4.21
Fatal error: Constructor A::a() cannot be static in /in/Fitoh on line 8
Process exited with code 255.