3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); class a { static function a() { echo "CONSTRUCTOR CALLED\r\n"; } function b($var) { return $var . 'x'; } } a::a();
Output for 5.3.0 - 5.5.12
Fatal error: Constructor a::a() cannot be static in /in/Zj6Lr on line 13
Process exited with code 255.