Location: PHPKode > scripts > phpbench > sexyprout-phpbench-8158542/examples/deg2rad.php
<?php
require '../phpbench.class.php';
$bench = new phpbench(200000);

$bench->loop(function() {
	echo deg2rad(45);
});

$bench->loop(function() {
	echo 45 * M_PI / 180;
});
Return current item: phpbench