3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo { function foo($x, $y = NULL); } class bar implements foo { function foo($x) {} }

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.4.120.0110.00922.32
8.4.110.0040.00520.75
8.4.100.0120.00917.78
8.4.90.0140.00617.83
8.4.80.0050.00417.91
8.4.70.0150.00819.47
8.4.60.0130.00718.78
8.4.50.0070.01218.48
8.4.40.0160.00319.23
8.4.30.0040.01522.15
8.4.20.0130.00718.78
8.4.10.0050.00517.66
8.3.250.0110.00618.92
8.3.240.0110.00516.41
8.3.230.0110.00816.71
8.3.220.0120.00716.64
8.3.210.0060.00216.57
8.3.200.0050.00416.62
8.3.190.0110.00817.16
8.3.180.0060.00217.00
8.3.170.0160.00320.75
8.3.160.0090.00916.80
8.3.150.0070.01116.96
8.3.140.0110.00716.79
8.3.130.0000.00818.43
8.3.120.0100.00020.60
8.3.110.0080.00016.54
8.3.100.0050.00316.67
8.3.90.0040.00426.77
8.3.80.0030.00616.63
8.3.70.0070.00716.63
8.3.60.0070.00718.66
8.3.50.0110.00822.01
8.3.40.0080.00818.67
8.3.30.0040.01118.48
8.3.20.0040.00421.60
8.3.10.0000.00820.34
8.3.00.0050.00323.54
8.2.290.0120.00320.51
8.2.280.0100.00618.16
8.2.270.0060.00317.11
8.2.260.0000.00816.27
8.2.250.0090.00616.47
8.2.240.0060.00318.58
8.2.230.0060.00320.94
8.2.220.0000.00824.06
8.2.210.0070.01426.77
8.2.200.0030.00616.38
8.2.190.0090.00616.58
8.2.180.0040.01118.54
8.2.170.0040.01122.96
8.2.160.0040.01120.82
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00420.96
8.2.110.0030.00721.12
8.2.100.0090.00317.84
8.2.90.0040.00417.84
8.2.80.0040.00417.97
8.2.70.0080.00017.89
8.2.60.0000.01018.03
8.2.50.0040.00418.10
8.2.40.0050.00319.17
8.2.30.0000.00819.05
8.2.20.0040.00417.80
8.2.10.0040.00419.23
8.2.00.0050.00219.17
8.1.330.0100.00916.83
8.1.320.0110.00815.96
8.1.310.0120.00616.00
8.1.300.0130.00316.07
8.1.290.0060.00330.84
8.1.280.0040.01125.92
8.1.270.0040.00422.20
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.92
8.1.230.0060.00622.75
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0040.00717.23
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0000.00818.46
8.1.160.0040.00418.86
8.1.150.0000.00718.82
8.1.140.0080.00018.76
8.1.130.0030.00320.18
8.1.120.0000.00717.44
8.1.110.0000.00717.35
8.1.100.0000.00817.42
8.1.90.0060.00317.38
8.1.80.0040.00417.36
8.1.70.0000.00717.43
8.1.60.0080.00017.37
8.1.50.0000.00817.46
8.1.40.0090.00017.41
8.1.30.0050.00517.60
8.1.20.0090.00317.55
8.1.10.0000.00717.34
8.1.00.0000.00717.30
8.0.300.0040.00419.78
8.0.290.0000.00816.75
8.0.280.0040.00418.46
8.0.270.0000.00716.82
8.0.260.0000.00618.42
8.0.250.0100.00016.82
8.0.240.0040.00416.93
8.0.230.0030.00316.94
8.0.220.0000.00716.84
8.0.210.0030.00316.89
8.0.200.0040.00416.78
8.0.190.0050.00216.84
8.0.180.0000.00716.79
8.0.170.0080.00016.79
8.0.160.0040.00416.90
8.0.150.0040.00416.74
8.0.140.0030.00316.80
8.0.130.0000.00513.27
8.0.120.0040.00416.85
8.0.110.0000.00816.73
8.0.100.0000.00716.75
8.0.90.0000.00916.92
8.0.80.0090.00616.93
8.0.70.0030.00516.79
8.0.60.0000.00817.00
8.0.50.0050.00316.86
8.0.30.0160.00017.05
8.0.20.0090.00917.06
8.0.10.0000.00817.05
8.0.00.0080.01016.70
7.4.330.0050.00015.55
7.4.320.0030.00316.52
7.4.300.0040.00416.41
7.4.290.0070.00016.45
7.4.280.0030.00516.52
7.4.270.0000.00916.36
7.4.260.0000.00716.50
7.4.250.0000.00716.50
7.4.240.0040.00416.47
7.4.230.0000.00716.46
7.4.220.0070.00016.52
7.4.210.0110.00716.40
7.4.200.0000.00816.54
7.4.130.0070.01016.38
7.4.120.0120.01216.71
7.4.110.0110.00716.54
7.4.100.0060.01216.50
7.4.90.0030.01416.52
7.4.80.0120.00619.39
7.4.70.0070.01016.48
7.4.60.0070.01116.45
7.4.50.0060.00716.29
7.4.40.0120.00316.59
7.4.00.0090.00614.82
7.3.330.0000.00613.23
7.3.320.0030.00312.96
7.3.310.0070.00016.13
7.3.300.0000.00716.23
7.3.290.0000.00716.16
7.3.280.0150.00816.20
7.3.260.0120.00616.38
7.3.240.0080.01216.31
7.3.230.0120.00416.50
7.3.210.0060.01016.25
7.3.200.0100.00616.27
7.3.190.0070.01016.25
7.3.180.0160.00016.30
7.3.170.0100.01016.42
7.3.160.0090.00916.38
7.3.70.0060.00614.74
7.3.60.0040.01114.74
7.3.50.0110.00414.54
7.3.40.0090.01214.51
7.3.30.0060.00714.70
7.3.20.0080.00614.82
7.3.10.0100.00314.75
7.3.00.0110.00614.86
7.2.330.0100.01016.49
7.2.320.0060.01016.61
7.2.310.0060.01216.41
7.2.300.0070.01016.52
7.2.290.0140.00416.37
7.2.200.0030.01215.05
7.2.190.0070.01314.68
7.2.180.0090.00314.80
7.2.170.0100.00314.86
7.2.160.0150.00714.78
7.2.150.0960.00614.58
7.2.140.0110.00614.80
7.2.130.0090.00915.00
7.2.120.0070.01115.04
7.2.110.0100.00714.88
7.2.100.0100.01514.84
7.2.90.0130.01014.69
7.2.80.0070.00714.98
7.2.70.0150.01114.91
7.2.60.0150.01215.04
7.2.50.0120.00314.96
7.2.40.0070.02014.79
7.2.30.0110.00414.88
7.2.20.0170.01214.96
7.2.10.0090.00614.91
7.2.00.0030.01014.93
7.1.300.0100.00713.74
7.1.290.0110.00313.73
7.1.280.0060.00713.64
7.1.270.0110.00313.73
7.1.260.0030.01313.51
7.1.250.0060.01013.59

preferences:
28 ms | 403 KiB | 5 Q