legacy.inc
368 Bytes
<?php
if (!function_exists('array_fill')) {
function array_fill($iStart, $iLen, $mValue) {
$aResult = array();
$iEnd = $iLen + $iStart;
for ($iCount = $iStart; $iCount < $iEnd; $iCount++) {
$aResult[$iCount] = $mValue;
}
return $aResult;
}
}
require_once('PHP/Compat.php');
PHP_Compat::loadVersion();
?>