3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array_fill(5, 6, 'bbbb'); print_r($a);
based on mpNYa
Output for 4.3.0 - 7.1.0
Array ( [5] => bbbb [6] => bbbb [7] => bbbb [8] => bbbb [9] => bbbb [10] => bbbb )