3v4l.org

run code in 300+ PHP versions simultaneously
<?php function gen(): Generator { yield 1; var_dump(debug_backtrace()); } for ($gen = gen(); $gen->valid(); $gen->next()) { $gen->current(); }

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.130.0090.00018.98
8.3.120.0070.01019.16
8.3.110.0130.00320.94
8.3.100.0000.00916.80
8.3.90.0150.00026.77
8.3.80.0030.00618.18
8.3.70.0100.00716.58
8.3.60.0130.00316.63
8.3.50.0120.00919.61
8.3.40.0060.00820.05
8.3.30.0120.00318.54
8.3.20.0080.00024.18
8.3.10.0060.00324.66
8.3.00.0080.00026.16
8.2.250.0030.00616.44
8.2.240.0160.00316.95
8.2.230.0090.00022.58
8.2.220.0030.00624.06
8.2.210.0000.00826.77
8.2.200.0060.00316.38
8.2.190.0100.00716.58
8.2.180.0090.00625.92
8.2.170.0180.00318.97
8.2.160.0070.00722.96
8.2.150.0000.00825.66
8.2.140.0140.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00421.12
8.2.110.0030.00622.29
8.2.100.0040.00819.63
8.2.90.0060.00317.75
8.2.80.0060.00318.73
8.2.70.0040.00417.37
8.2.60.0030.00618.04
8.2.50.0040.00417.98
8.2.40.0000.00917.84
8.2.30.0050.00318.05
8.2.20.0040.00420.30
8.2.10.0040.00417.74
8.2.00.0040.00419.29
8.1.300.0040.00417.66
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0040.00424.01
8.1.260.0070.01126.35
8.1.250.0000.00828.09
8.1.240.0090.00320.63
8.1.230.0080.00417.70
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0050.00517.13
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0080.00017.62
8.1.160.0050.00218.87
8.1.150.0040.00418.61
8.1.140.0000.00717.36
8.1.130.0000.00718.75
8.1.120.0030.00417.46
8.1.110.0000.00717.45
8.1.100.0020.00517.34
8.1.90.0040.00417.34
8.1.80.0040.00417.32
8.1.70.0040.00417.38
8.1.60.0040.00417.57
8.1.50.0040.00417.52
8.1.40.0030.00617.40
8.1.30.0000.00917.54
8.1.20.0030.00617.49
8.1.10.0100.00017.34
8.1.00.0160.00817.40
8.0.300.0040.00420.48
8.0.290.0050.00216.75
8.0.280.0070.00018.50
8.0.270.0040.00416.68
8.0.260.0000.00718.36
8.0.250.0060.00316.96
8.0.240.0070.00416.87
8.0.230.0030.00316.96
8.0.220.0070.00016.90
8.0.210.0040.00416.76
8.0.200.0040.00416.90
8.0.190.0080.00316.84
8.0.180.0040.00416.91
8.0.170.0040.00416.91
8.0.160.0060.00316.92
8.0.150.0000.00716.86
8.0.140.0190.00016.84
8.0.130.0150.00416.72
8.0.120.0160.00216.66
8.0.110.0100.00716.71
8.0.100.0180.00016.70
8.0.90.0140.00616.70
8.0.80.0090.00916.80
8.0.70.0150.00516.83
8.0.60.0130.00516.87
8.0.50.0140.00516.68
8.0.30.0090.00916.75
8.0.20.0130.00516.84
8.0.10.0070.01417.02
7.4.330.0000.00615.55
7.4.320.0030.00316.54
7.4.300.0000.00716.51
7.4.290.0040.00416.45
7.4.280.0060.00316.38
7.4.270.0040.01616.55
7.4.260.0180.00416.56
7.4.250.0180.00316.50
7.4.240.0130.00816.41
7.4.230.0210.00016.44
7.4.220.0100.00916.59
7.4.210.0190.00016.47
7.4.200.0120.00016.43
7.4.190.0070.00516.32
7.4.180.0120.00016.60
7.4.160.0120.00616.49
7.4.150.0080.00016.48
7.4.140.0120.00416.39
7.4.130.0070.00016.28
7.4.120.0030.00316.32
7.4.110.0030.00616.30
7.4.100.0040.00416.46
7.4.90.0000.00816.30
7.4.80.0000.00916.43
7.4.70.0090.00016.49
7.4.60.0100.00016.24
7.4.50.0080.00316.36
7.4.40.0080.00216.33
7.4.30.0070.00216.27
7.4.20.0070.00216.39
7.4.10.0080.00016.35
7.4.00.0000.00816.46

preferences:
27.75 ms | 403 KiB | 5 Q