3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('constant', 'value'); class x { static $z = array(); static public function x($z) { self::$z[] = $z; } } foreach(range(1,500000) as $x) { x::x($x); }
Output for 5.3.0 - 5.4.21
Fatal error: Constructor x::x() cannot be static in /in/uHW3l on line 10
Process exited with code 255.