3v4l.org

run code in 300+ PHP versions simultaneously
<?php public function ze_range($start) { for ($i = $start; $i < 10; $i++) { if($i < 5) { yield $i; } } } var_dump(ze_range(3));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.220.0140.05412.37
5.4.210.0140.04912.37
5.4.200.0120.04912.38
5.4.190.0100.04912.37
5.4.180.0150.04612.37
5.4.170.0120.04812.38
5.4.160.0220.06812.37
5.4.150.0090.05112.37
5.4.140.0100.04912.06
5.4.130.0120.04112.04
5.4.120.0120.04612.01
5.4.110.0110.04112.00
5.4.100.0130.03812.01
5.4.90.0120.04212.00
5.4.80.0110.04212.00
5.4.70.0100.04312.00
5.4.60.0170.05212.00
5.4.50.0130.03912.00
5.4.40.0120.03811.98
5.4.30.0110.04311.98
5.4.20.0110.04211.98
5.4.10.0120.04211.98
5.4.00.0100.04311.48
5.3.270.0110.04512.72
5.3.260.0100.04912.71
5.3.250.0130.04412.72
5.3.240.0230.06412.72
5.3.230.0160.04112.71
5.3.220.0130.04312.68
5.3.210.0200.05312.68
5.3.200.0100.04312.68
5.3.190.0140.04412.68
5.3.180.0150.03912.67
5.3.170.0130.04112.67
5.3.160.0190.05012.67
5.3.150.0130.04312.68
5.3.140.0130.04312.66
5.3.130.0110.04312.66
5.3.120.0110.04312.66
5.3.110.0120.04312.66
5.3.100.0100.04712.12
5.3.90.0130.04512.09
5.3.80.0180.05412.07
5.3.70.0110.04812.08
5.3.60.0130.04512.06
5.3.50.0090.04812.00
5.3.40.0130.04012.00
5.3.30.0130.04111.94
5.3.20.0100.04211.72
5.3.10.0120.04111.68
5.3.00.0100.04311.66

preferences:
142 ms | 1394 KiB | 7 Q