Result
Unfortunately, no history for this test is available.
Code
The first test, "is_float", was:
$a = is_string($GLOBALS['test']);
The second test, "Casting", was:
$a = (string) $GLOBALS['test'] === $GLOBALS['test'];
Warning: Division by zero in /var/customers/webs/stc/benchmark/index.php on line 256
Performance comparison of PHP code alternatives.
Unfortunately, no history for this test is available.
The first test, "is_float", was:
$a = is_string($GLOBALS['test']);
The second test, "Casting", was:
$a = (string) $GLOBALS['test'] === $GLOBALS['test'];