getExtByArrayMethod: " . $beginArrMethod . "
";
for ($i = 1; $i < ITR; $i++) {
getExtByArrayMethod(FILENAME, $allowableExtensions);
}
$endArrMethod = microtime_float();
echo "End getExtByArrayMethod: " . $endArrMethod . "
";
$result = $endArrMethod - $beginArrMethod;
echo "Result: " . $result . "
";
###
$beginStrMethod = microtime_float();
echo "Begin getExtByStringMethod: " . $beginStrMethod . "
";
for ($i = 1; $i < ITR; $i++) {
getExtByStringMethod(FILENAME, $allowableExtensions);
}
$endStrMethod = microtime_float();
echo "End getExtByStringMethod: " . $endStrMethod . "
";
$result = $endStrMethod - $beginStrMethod;
echo "Result: " . $result . "
";
?>