3v4l.org

run code in 500+ PHP versions simultaneously
<?php $start = microtime(true); for ($i = 0; $i < 10000000; $i++) { 2 ** 16; } echo "Pow operator: " . (microtime(true) - $start) . "\n"; $start = microtime(true); for ($i = 0; $i < 10000000; $i++) { pow(2, 16); } echo "Pow function: " . (microtime(true) - $start) . "\n";
Output for git.master_jit
Pow operator: 0.028731107711792 Pow function: 0.14833688735962
Output for git.master
Pow operator: 0.02738094329834 Pow function: 0.15538120269775

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
60.75 ms | 1762 KiB | 4 Q