3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A\B; $a = [['x'], ['y'], ['z1'], 1, 2, 3, 4, 5, 'some text']; $time = microtime(true); for ($i=0; $i<1000000; $i++) { \count($a); } echo (microtime(true) - $time) . "\n"; $time = microtime(true); for ($i=0; $i<1000000; $i++) { count($a); } echo (microtime(true) - $time) . "\n";
Output for git.master_jit
0.0050880908966064 0.013197898864746
Output for git.master
0.0047070980072021 0.009627103805542
Output for rfc.property-hooks
0.0045650005340576 0.0099630355834961

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:
51.44 ms | 407 KiB | 5 Q