Result
Unfortunately, no history for this test is available.
Code
The first test, "constants", was:
$GLOBALS['test'] = CONSTANT + 1;
The second test, "variables", was:
$GLOBALS['test'] = $GLOBALS['CONSTANT'] + 1;
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, "constants", was:
$GLOBALS['test'] = CONSTANT + 1;
The second test, "variables", was:
$GLOBALS['test'] = $GLOBALS['CONSTANT'] + 1;