3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 0; while($i < 60000) { $data1[] = rand(); } function cube($n){ return ($n*$n*$n) } $b = array_map("cube", $data1);
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected '}' in /in/hQjO1 on line 10
Process exited with code 255.