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.0070.00718.30
8.3.50.0170.00317.93
8.3.40.0120.00918.66
8.3.30.0040.01118.80
8.3.20.0140.00420.16
8.3.10.0060.00323.52
8.3.00.0060.00619.25
8.2.180.0040.01116.32
8.2.170.0140.00022.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0070.01124.66
8.2.130.0070.01026.16
8.2.120.0040.00422.29
8.2.110.0090.00020.52
8.2.100.0040.00818.03
8.2.90.0040.00419.05
8.2.80.0060.00317.97
8.2.70.0050.00317.50
8.2.60.0040.00417.90
8.2.50.0080.00018.07
8.2.40.0090.00019.81
8.2.30.0050.00317.93
8.2.20.0000.00817.52
8.2.10.0060.00317.96
8.2.00.0000.00717.59
8.1.270.0040.00423.72
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00323.82
8.1.230.0080.00319.00
8.1.220.0070.00017.74
8.1.210.0030.00618.77
8.1.200.0030.00617.00
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.59
8.1.160.0000.00721.99
8.1.150.0070.00018.87
8.1.140.0030.00617.30
8.1.130.0040.00417.75
8.1.120.0030.00317.34
8.1.110.0040.00417.29
8.1.100.0030.00517.30
8.1.90.0000.00717.30
8.1.80.0000.00717.38
8.1.70.0000.00717.29
8.1.60.0080.00017.29
8.1.50.0030.00617.32
8.1.40.0060.00317.25
8.1.30.0030.00617.50
8.1.20.0080.00017.41
8.1.10.0070.00017.28
8.1.00.0030.00517.32
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.28
8.0.270.0070.00017.09
8.0.260.0030.00317.05
8.0.250.0050.00216.79
8.0.240.0060.00016.83
8.0.230.0070.00016.86
8.0.220.0000.00616.72
8.0.210.0070.00016.76
8.0.200.0030.00316.74
8.0.190.0050.00216.86
8.0.180.0030.00316.71
8.0.170.0030.00616.76
8.0.160.0030.00316.64
8.0.150.0030.00516.66
8.0.140.0000.00716.63
8.0.130.0030.00313.46
8.0.120.0040.00416.69
8.0.110.0000.00716.65
8.0.100.0000.00716.53
8.0.90.0060.00316.75
8.0.80.0110.00616.70
8.0.70.0040.00416.55
8.0.60.0000.00716.64
8.0.50.0000.00716.70
8.0.30.0150.00916.87
8.0.20.0130.00617.40
8.0.10.0090.00016.76
8.0.00.0090.00816.72
7.4.330.0050.00015.00
7.4.320.0030.00316.43
7.4.300.0060.00016.37
7.4.290.0000.00916.38
7.4.280.0000.01016.25
7.4.270.0070.00016.35
7.4.260.0000.00816.39
7.4.250.0040.00416.32
7.4.240.0030.00316.22
7.4.230.0030.00316.20
7.4.220.0130.00716.38
7.4.210.0100.00316.38
7.4.200.0000.00816.36
7.4.160.0060.00916.47
7.4.150.0120.00617.40
7.4.140.0110.00817.86
7.4.130.0070.01016.27
7.4.120.0080.00916.29
7.4.110.0040.01516.38
7.4.100.0090.00916.43
7.4.90.0110.01116.52
7.4.80.0130.00619.39
7.4.70.0140.00316.64
7.4.60.0100.00616.25
7.4.50.0050.00216.18
7.4.40.0120.00416.30
7.4.30.0000.01516.34
7.3.330.0000.00613.28
7.3.320.0000.00612.99
7.3.310.0040.00416.00
7.3.300.0070.00016.15
7.3.290.0110.00616.09
7.3.280.0060.00916.15
7.3.270.0190.00317.40
7.3.260.0100.00716.53
7.3.250.0090.00916.33
7.3.240.0040.01216.18
7.3.230.0090.00616.39
7.3.210.0080.00816.54
7.3.200.0030.01319.39
7.3.190.0120.00616.36
7.3.180.0110.00616.23
7.3.170.0080.00816.34
7.3.160.0060.01116.21
7.2.330.0080.00916.39
7.2.320.0170.00016.45
7.2.310.0120.00616.38
7.2.300.0120.00916.44
7.2.290.0100.00716.51
5.4.340.0300.04719.09
5.4.320.0230.04718.88
5.4.310.0270.05319.32
5.4.300.0200.04319.24
5.4.290.0330.06719.33
5.4.280.0230.07719.16
5.4.270.0230.06019.21
5.4.260.0270.05319.31
5.4.250.0300.05319.15
5.4.240.0300.04319.25
5.4.230.0370.06719.14
5.4.220.0400.06319.30
5.4.210.0230.07018.99
5.4.200.0230.07718.85
5.4.190.0430.06319.18
5.4.180.0330.06719.21
5.4.170.0300.07018.86
5.4.160.0370.06719.20
5.4.150.0300.05019.22
5.4.140.0370.06316.33
5.4.130.0370.05316.39
5.4.120.0300.06316.38
5.4.110.0370.04716.26
5.4.100.0270.06016.45
5.4.90.0270.04016.45
5.4.80.0270.04316.43
5.4.70.0300.03716.17
5.4.60.0200.03716.25
5.4.50.0230.03016.56
5.4.40.0170.03316.53
5.4.30.0200.03016.23
5.4.20.0170.03716.53
5.4.10.0130.03716.56
5.4.00.0170.03715.90

preferences:
60.1 ms | 400 KiB | 5 Q