3v4l.org

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