Skip to content

Commit

Permalink
Merge pull request #14 from solarisfire/master
Browse files Browse the repository at this point in the history
Update benchmark.php
  • Loading branch information
odan authored Feb 8, 2021
2 parents 9cfb46b + 8ab25e8 commit 34e615f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function test_math(&$result, $count = 99999)
{
$timeStart = microtime(true);

$mathFunctions = array("abs", "acos", "asin", "atan", "bindec", "floor", "exp", "sin", "tan", "pi", "is_finite", "is_nan", "sqrt");
$mathFunctions = array("abs", "acos", "asin", "atan", "bindec", "floor", "exp", "sin", "tan", "is_finite", "is_nan", "sqrt");
for ($i = 0; $i < $count; $i++) {
foreach ($mathFunctions as $function) {
call_user_func_array($function, array($i));
Expand Down

0 comments on commit 34e615f

Please sign in to comment.