3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array_fill(-5, 6, 'bbbb'); print_r($a);
based on 4S0Pu
Output for 4.3.0 - 7.2.0
Array ( [-5] => bbbb [0] => bbbb [1] => bbbb [2] => bbbb [3] => bbbb [4] => bbbb )