3 // For PHP version < 4.2.0 missing the array_fill function,
4 // I provide here an alternative. -Philippe
6 function array_fill($iStart, $iLen, $vValue) {
8 for ($iCount = $iStart; $iCount < $iLen + $iStart; $iCount++) {
9 $aResult[$iCount] = $vValue;