3v4l.org

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