3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $competitorsCount = 3; $competitors = array_fill(1, $competitorsCount + 1, null); var_dump($competitors);
Output for 4.3.0 - 7.1.0
array(4) { [1]=> NULL [2]=> NULL [3]=> NULL [4]=> NULL }