0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
lib
/
compat
/
[
Home
]
File: array_fill.func.php
<?php //this script may only be included - so its better to die if called directly. if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) { header("location: index.php"); exit; } // For PHP version < 4.2.0 missing the array_fill function, // I provide here an alternative. -Philippe // taken from http://de3.php.net/manual/en/function.array-fill.php comments. thanks jausion at hotmail-dot-com if (!function_exists('array_fill')) { function array_fill($iStart, $iLen, $vValue) { $aResult = array(); for ($iCount = $iStart; $iCount < $iLen + $iStart; $iCount++) { $aResult[$iCount] = $vValue; } return $aResult; } } ?>