3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Derp { public static function derp(){ $h = '4'; } }
Output for 5.3.23, 5.4.13
Fatal error: Constructor Derp::derp() cannot be static in /in/hv4oI on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Fatal error: Constructor Derp::derp() cannot be static in TUeqa on line 6
Process exited with code 255.