3v4l.org

run code in 300+ PHP versions simultaneously
<?php function xrange($start, $end, $inc) { for ($start; $start <= $end; $start+=$inc) { yield $start; } } foreach(xrange(1, 100) as $n) { print "$n\n"; }

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)
8.3.60.0070.00718.43
8.3.50.0130.00721.94
8.3.40.0090.00618.92
8.3.30.0040.01118.86
8.3.20.0030.00520.25
8.3.10.0040.00423.36
8.3.00.0060.00320.46
8.2.180.0160.00616.50
8.2.170.0090.00622.96
8.2.160.0100.00322.22
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00417.49
8.2.110.0090.00022.08
8.2.100.0030.00917.78
8.2.90.0000.00719.04
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0050.00718.09
8.2.30.0040.00418.06
8.2.20.0040.00417.54
8.2.10.0000.00817.70
8.2.00.0070.00017.64
8.1.280.0170.00025.92
8.1.270.0050.00223.61
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.89
8.1.230.0110.00319.10
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0000.00817.39
8.1.180.0030.00618.10
8.1.170.0040.00418.61
8.1.160.0000.00721.89
8.1.150.0050.00218.43
8.1.140.0060.00317.22
8.1.130.0090.00017.78
8.1.120.0040.00417.29
8.1.110.0020.00517.34
8.1.100.0000.01017.33
8.1.90.0080.00017.22
8.1.80.0000.00717.32
8.1.70.0000.00717.37
8.1.60.0050.00317.41
8.1.50.0030.00517.35
8.1.40.0000.00817.44
8.1.30.0060.00317.51
8.1.20.0030.00517.46
8.1.10.0000.00717.55
8.1.00.0050.00317.52
8.0.300.0000.00718.77
8.0.290.0030.00517.05
8.0.280.0070.00018.38
8.0.270.0070.00017.13
8.0.260.0030.00316.76
8.0.250.0030.00316.91
8.0.240.0000.00916.84
8.0.230.0030.00316.97
8.0.220.0040.00416.91
8.0.210.0030.00316.93
8.0.200.0030.00316.86
8.0.190.0040.00416.95
8.0.180.0080.00416.98
8.0.170.0040.00416.83
8.0.160.0000.00716.92
8.0.150.0070.00016.89
8.0.140.0030.00516.84
8.0.130.0050.00013.27
8.0.120.0070.00016.90
8.0.110.0080.00016.75
8.0.100.0040.00416.96
8.0.90.0000.00716.78
8.0.80.0100.00616.83
8.0.70.0040.00416.95
8.0.60.0040.00416.73
8.0.50.0050.00316.95
8.0.30.0080.01117.09
8.0.20.0130.00617.40
8.0.10.0070.00016.93
8.0.00.0110.00916.69
7.4.330.0000.00615.00
7.4.320.0000.00616.34
7.4.300.0000.00616.59
7.4.290.0070.00016.49
7.4.280.0000.00816.33
7.4.270.0030.00516.46
7.4.260.0000.00716.57
7.4.250.0030.00316.48
7.4.240.0040.00316.53
7.4.230.0040.00416.28
7.4.220.0140.00416.39
7.4.210.0060.00816.43
7.4.200.0050.00316.38
7.4.190.0040.00416.38
7.4.160.0060.00916.73
7.4.150.0060.01217.40
7.4.140.0050.01217.86
7.4.130.0180.00816.49
7.4.120.0110.00816.49
7.4.110.0060.00916.30
7.4.100.0090.00816.60
7.4.90.0040.01516.44
7.4.80.0070.01716.68
7.4.70.0120.00416.48
7.4.60.0110.00516.52
7.4.50.0000.00816.26
7.4.40.0130.00322.77
7.4.30.0120.01116.43
7.4.00.0080.00815.04
7.3.330.0050.00013.23
7.3.320.0000.00713.30
7.3.310.0060.00016.30
7.3.300.0070.00016.28
7.3.290.0000.01516.27
7.3.280.0060.01016.25
7.3.270.0120.00617.40
7.3.260.0060.01616.29
7.3.250.0040.01316.42
7.3.240.0070.01016.55
7.3.230.0110.00616.39
7.3.210.0120.01216.38
7.3.200.0080.00819.39
7.3.190.0090.00616.19
7.3.180.0090.00616.24
7.3.170.0040.01116.60
7.3.160.0040.01216.18
7.3.120.0100.00714.91
7.2.330.0060.01216.40
7.2.320.0000.01716.24
7.2.310.0140.00716.62
7.2.300.0100.00716.45
7.2.290.0120.00616.55
7.2.60.0060.00916.63
7.2.00.0000.01719.30
7.1.200.0060.00615.37
7.1.100.0000.01118.11
7.1.70.0070.00716.94
7.1.60.0070.01719.32
7.1.50.0110.01116.74
7.0.200.0070.00716.86

preferences:
50.49 ms | 401 KiB | 5 Q