3v4l.org

run code in 300+ PHP versions simultaneously
<?hh function yieldInfiniteInts(): Continuation<int> { $i = 0; while (true) { yield $i++; echo "hola" } } $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.0110.00418.56
8.3.50.0190.00821.97
8.3.40.0000.01518.63
8.3.30.0120.00318.86
8.3.20.0080.00020.21
8.3.10.0120.00623.52
8.3.00.0040.00819.13
8.2.180.0180.00318.42
8.2.170.0090.00522.96
8.2.160.0030.01020.47
8.2.150.0120.00624.18
8.2.140.0120.00624.66
8.2.130.0120.00626.16
8.2.120.0070.01122.06
8.2.110.0070.00320.36
8.2.100.0080.00318.09
8.2.90.0030.00619.09
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0000.00817.91
8.2.50.0060.00318.07
8.2.40.0040.00419.80
8.2.30.0050.00517.93
8.2.20.0030.00517.40
8.2.10.0040.00417.90
8.2.00.0000.00717.45
8.1.280.0140.00425.92
8.1.270.0060.00323.77
8.1.260.0060.00326.35
8.1.250.0030.00528.09
8.1.240.0060.00323.92
8.1.230.0090.00319.09
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.10
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0040.00418.57
8.1.160.0000.00721.87
8.1.150.0000.00718.74
8.1.140.0000.00917.26
8.1.130.0070.00017.68
8.1.120.0000.00817.23
8.1.110.0030.00617.26
8.1.100.0040.00417.36
8.1.90.0000.00717.22
8.1.80.0080.00017.32
8.1.70.0000.00717.33
8.1.60.0030.00517.40
8.1.50.0000.00817.38
8.1.40.0050.00517.44
8.1.30.0060.00317.52
8.1.20.0050.00317.43
8.1.10.0030.00517.34
8.1.00.0050.00217.36
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0070.00018.33
8.0.270.0030.00317.13
8.0.260.0030.00317.18
8.0.250.0050.00316.71
8.0.240.0030.00316.70
8.0.230.0000.00816.81
8.0.220.0030.00316.75
8.0.210.0000.00716.71
8.0.200.0050.00316.70
8.0.190.0000.00716.79
8.0.180.0050.00316.70
8.0.170.0040.00416.78
8.0.160.0000.00816.80
8.0.150.0050.00316.71
8.0.140.0000.00716.75
8.0.130.0000.00513.38
8.0.120.0000.00816.58
8.0.110.0050.00216.63
8.0.100.0050.00216.64
8.0.90.0040.00416.61
8.0.80.0090.01016.75
8.0.70.0030.00516.73
8.0.60.0070.00016.75
8.0.50.0050.00316.69
8.0.30.0100.01116.88
8.0.20.0140.00517.40
8.0.10.0030.00616.70
8.0.00.0090.00816.78
7.4.330.0000.00515.00
7.4.320.0070.00016.26
7.4.300.0000.00616.37
7.4.290.0000.00716.51
7.4.280.0050.00516.30
7.4.270.0030.00316.39
7.4.260.0070.00016.34
7.4.250.0070.00016.43
7.4.240.0000.00716.35
7.4.230.0030.00416.15
7.4.220.0120.00616.35
7.4.210.0070.00716.31
7.4.200.0040.00416.41
7.4.160.0070.01016.48
7.4.150.0090.00917.40
7.4.140.0020.01817.86
7.4.130.0090.00816.40
7.4.120.0050.01216.39
7.4.110.0180.00016.29
7.4.100.0140.00316.34
7.4.90.0100.00616.50
7.4.80.0070.01019.39
7.4.70.0040.01216.38
7.4.60.0110.00816.48
7.4.50.0040.00416.38
7.4.40.0120.00916.19
7.4.30.0140.00916.35
7.3.330.0060.00313.20
7.3.320.0000.00713.23
7.3.310.0030.00316.17
7.3.300.0030.00316.03
7.3.290.0000.01916.14
7.3.280.0100.00716.15
7.3.270.0100.00717.40
7.3.260.0130.00416.23
7.3.250.0100.00616.29
7.3.240.0050.01516.09
7.3.230.0070.01016.39
7.3.210.0080.00816.39
7.3.200.0090.00619.39
7.3.190.0080.00916.34
7.3.180.0180.00016.36
7.3.170.0100.00616.42
7.3.160.0150.00616.02
7.2.330.0090.00816.34
7.2.320.0190.00716.43
7.2.310.0140.00316.32
7.2.300.0030.01216.48
7.2.290.0030.01316.29
5.4.340.0070.03612.00
5.4.320.0060.04312.45
5.4.310.0110.04312.45
5.4.300.0060.04312.45
5.4.290.0060.04112.45
5.4.280.0040.03912.35
5.4.270.0040.04012.35
5.4.260.0050.04112.35
5.4.250.0050.04912.35
5.4.240.0050.04412.34
5.4.230.0030.04712.34
5.4.220.0050.03912.34
5.4.210.0050.03912.34
5.4.200.0090.04112.34
5.4.190.0100.03612.33
5.4.180.0040.04112.34
5.4.170.0060.04012.34
5.4.160.0070.04412.34
5.4.150.0050.04512.34
5.4.140.0080.04412.02
5.4.130.0040.04512.01
5.4.120.0090.04511.97
5.4.110.0060.04011.96
5.4.100.0050.04111.96
5.4.90.0070.04411.96
5.4.80.0070.04611.96
5.4.70.0080.04511.96
5.4.60.0070.03811.96
5.4.50.0070.03511.96
5.4.40.0060.03611.95
5.4.30.0090.03711.95
5.4.20.0070.04711.95
5.4.10.0060.03711.95
5.4.00.0090.03511.44

preferences:
44.81 ms | 401 KiB | 5 Q