3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('memory_limit',-1); $i=10000; $c=[]; $time_c=microtime(true); for($z=0;$z<$i;$z++){ array_push($c,...[0,1,2,3,4,5,6,7,8,9]); // $b[]=...[0,1,2,3,4,5,6,7,8,9]; } $time_c=microtime(true)-$time_c; print($time_c.' sec');
Output for git.master
0.0019237995147705 sec
Output for git.master_jit
0.0016758441925049 sec

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:
36.13 ms | 401 KiB | 7 Q