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
Parse error: syntax error, unexpected '[' in /in/Bia5b on line 8
Process exited with code 255.