3v4l.org

run code in 300+ PHP versions simultaneously
<?hh function yieldInfiniteInts(): Continuation<int> { $i = 0; while (true) { yield $i++; } } $generator = yieldInfiniteInts();

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.0140.00718.43
8.3.50.0040.01116.35
8.3.40.0000.01518.62
8.3.30.0110.00618.93
8.3.20.0040.00420.21
8.3.10.0040.00423.47
8.3.00.0000.01117.36
8.2.180.0090.00616.50
8.2.170.0100.00722.96
8.2.160.0100.00320.20
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00722.10
8.2.110.0060.00320.70
8.2.100.0110.00017.91
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0080.00017.47
8.2.60.0060.00617.93
8.2.50.0040.00418.07
8.2.40.0030.00619.77
8.2.30.0040.00417.87
8.2.20.0070.00017.54
8.2.10.0070.00017.80
8.2.00.0000.00817.40
8.1.280.0070.00725.92
8.1.270.0000.00822.24
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0000.00823.98
8.1.230.0080.00419.05
8.1.220.0020.00517.74
8.1.210.0080.00018.77
8.1.200.0060.00317.10
8.1.190.0090.00017.10
8.1.180.0030.00618.10
8.1.170.0050.00318.51
8.1.160.0040.00421.95
8.1.150.0040.00418.66
8.1.140.0040.00417.31
8.1.130.0030.00317.73
8.1.120.0000.00717.32
8.1.110.0000.00917.38
8.1.100.0070.00017.30
8.1.90.0000.00717.33
8.1.80.0000.00817.29
8.1.70.0000.00717.27
8.1.60.0040.00417.46
8.1.50.0030.00517.29
8.1.40.0030.00617.27
8.1.30.0040.00417.58
8.1.20.0040.00417.50
8.1.10.0000.00817.33
8.1.00.0030.00617.45
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.36
8.0.270.0030.00317.18
8.0.260.0000.00617.17
8.0.250.0030.00316.84
8.0.240.0000.00716.79
8.0.230.0000.00716.88
8.0.220.0000.00716.59
8.0.210.0000.00616.66
8.0.200.0060.00016.83
8.0.190.0000.00716.71
8.0.180.0000.00716.73
8.0.170.0000.00816.68
8.0.160.0000.00716.75
8.0.150.0000.00816.57
8.0.140.0030.00316.63
8.0.130.0030.00313.31
8.0.120.0040.00416.72
8.0.110.0060.00316.75
8.0.100.0040.00416.79
8.0.90.0040.00416.79
8.0.80.0030.01216.80
8.0.70.0000.00716.82
8.0.60.0080.00016.64
8.0.50.0000.00816.77
8.0.30.0100.00917.11
8.0.20.0110.01017.40
8.0.10.0060.00316.81
8.0.00.0100.01116.37
7.4.330.0000.00415.00
7.4.320.0000.00616.46
7.4.300.0060.00016.48
7.4.290.0020.00516.36
7.4.280.0050.00416.48
7.4.270.0030.00316.33
7.4.260.0030.00716.46
7.4.250.0030.00416.23
7.4.240.0030.00316.42
7.4.230.0030.00316.27
7.4.220.0160.00616.56
7.4.210.0070.00716.35
7.4.200.0000.00716.44
7.4.160.0000.01416.39
7.4.150.0030.01417.40
7.4.140.0110.00717.86
7.4.130.0120.00716.24
7.4.120.0090.01116.46
7.4.110.0110.00616.30
7.4.100.0030.01416.34
7.4.90.0130.00416.52
7.4.80.0060.01019.39
7.4.70.0160.00016.59
7.4.60.0130.00316.25
7.4.50.0040.00016.44
7.4.40.0100.01016.39
7.4.30.0100.00716.38
7.3.330.0000.00613.21
7.3.320.0060.00013.23
7.3.310.0070.00016.06
7.3.300.0000.00716.15
7.3.290.0040.01416.16
7.3.280.0080.00716.12
7.3.270.0060.01217.40
7.3.260.0060.01216.45
7.3.250.0150.00416.32
7.3.240.0100.00716.43
7.3.230.0130.00316.39
7.3.210.0140.00316.43
7.3.200.0080.01119.39
7.3.190.0070.01016.44
7.3.180.0060.00916.08
7.3.170.0130.00316.27
7.3.160.0100.01016.14
7.2.330.0030.01416.58
7.2.320.0100.00716.48
7.2.310.0070.01016.64
7.2.300.0100.00616.40
7.2.290.0150.00316.43
5.4.340.0090.03312.01
5.4.320.0060.03812.46
5.4.310.0150.04612.45
5.4.300.0120.03512.45
5.4.290.0050.04112.45
5.4.280.0070.03712.35
5.4.270.0070.03712.34
5.4.260.0030.04212.35
5.4.250.0050.04112.34
5.4.240.0040.03812.34
5.4.230.0060.04012.34
5.4.220.0090.04712.34
5.4.210.0070.03512.34
5.4.200.0060.03812.34
5.4.190.0100.03212.34
5.4.180.0080.03512.34
5.4.170.0040.03712.35
5.4.160.0050.03812.34
5.4.150.0050.03712.34
5.4.140.0100.04012.02
5.4.130.0030.04012.01
5.4.120.0020.03811.96
5.4.110.0070.03711.96
5.4.100.0040.03811.96
5.4.90.0040.04611.96
5.4.80.0130.06011.96
5.4.70.0050.03511.96
5.4.60.0040.03811.96
5.4.50.0090.03911.96
5.4.40.0070.03511.95
5.4.30.0090.03611.95
5.4.20.0090.03311.95
5.4.10.0050.03811.95
5.4.00.0060.04011.43

preferences:
52.32 ms | 400 KiB | 5 Q