3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo($a) {$a[1] = 1;return $a;}; $b = array_fill(1, 6000, 'banana'); $c = foo($b);
Output for 4.3.0 - 7.1.0