3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace lolwut; interface a { function foo(); function bar(); } interface b { function foo(); } abstract class c { abstract function bar(); } class x extends c implements a, b { function foo() { } function bar() {} } echo "wut";

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.0030.01718.43
8.3.50.0120.00621.99
8.3.40.0140.00718.75
8.3.30.0070.00718.64
8.3.20.0040.00418.65
8.3.10.0080.00021.04
8.3.00.0080.00021.65
8.2.180.0140.00718.17
8.2.170.0150.00022.96
8.2.160.0100.00320.44
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00419.36
8.2.110.0030.00720.46
8.2.100.0090.00317.57
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0030.00617.91
8.2.50.0050.00318.07
8.2.40.0040.00418.11
8.2.30.0040.00419.84
8.2.20.0000.00717.59
8.2.10.0070.00017.59
8.2.00.0030.00517.61
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0170.00019.01
8.1.230.0040.00820.96
8.1.220.0000.00918.57
8.1.210.0000.00718.77
8.1.200.0060.00317.22
8.1.190.0000.00717.40
8.1.180.0040.00418.10
8.1.170.0000.00918.51
8.1.160.0040.00418.82
8.1.150.0030.00618.43
8.1.140.0040.00417.30
8.1.130.0030.00317.63
8.1.120.0000.00717.45
8.1.110.0030.00517.25
8.1.100.0030.00517.27
8.1.90.0080.00017.27
8.1.80.0000.00717.36
8.1.70.0070.00017.36
8.1.60.0000.00717.51
8.1.50.0040.00417.31
8.1.40.0040.00417.47
8.1.30.0040.00417.42
8.1.20.0000.00817.58
8.1.10.0040.00417.45
8.1.00.0000.00717.35
8.0.300.0000.00918.77
8.0.290.0060.00317.05
8.0.280.0070.00018.37
8.0.270.0030.00316.84
8.0.260.0030.00316.66
8.0.250.0040.00416.79
8.0.240.0090.00016.86
8.0.230.0030.00316.89
8.0.220.0000.00716.82
8.0.210.0030.00316.81
8.0.200.0040.00416.87
8.0.190.0030.00316.85
8.0.180.0070.00016.79
8.0.170.0000.00916.86
8.0.160.0000.00716.82
8.0.150.0040.00416.82
8.0.140.0070.00416.65
8.0.130.0030.00313.21
8.0.120.0040.00416.66
8.0.110.0070.00016.83
8.0.100.0000.00816.81
8.0.90.0000.00716.77
8.0.80.0060.00916.70
8.0.70.0080.00016.80
8.0.60.0070.00016.88
8.0.50.0020.00516.65
8.0.30.0080.01116.86
8.0.20.0040.01617.40
8.0.10.0040.00416.77
8.0.00.0050.01516.62
7.4.330.0000.00513.43
7.4.320.0040.00416.40
7.4.300.0000.00716.56
7.4.290.0070.00016.46
7.4.280.0000.00716.51
7.4.270.0030.00316.41
7.4.260.0000.00613.20
7.4.250.0040.00416.40
7.4.240.0070.00016.51
7.4.230.0000.00816.50
7.4.220.0070.01116.54
7.4.210.0080.00616.56
7.4.200.0030.00316.45
7.4.190.0000.00716.59
7.4.160.0120.00316.36
7.4.150.0100.01317.40
7.4.140.0100.01117.86
7.4.130.0080.01116.40
7.4.120.0080.00816.41
7.4.110.0090.00916.32
7.4.100.0030.01516.29
7.4.90.0140.01016.35
7.4.80.0160.02919.37
7.4.70.0110.00616.41
7.4.60.0110.01116.55
7.4.50.0090.00016.23
7.4.40.0030.01022.27
7.4.30.0030.01616.61
7.4.00.0000.01014.49
7.3.330.0000.00513.01
7.3.320.0050.00013.16
7.3.310.0030.00316.22
7.3.300.0030.00316.16
7.3.290.0040.01116.22
7.3.280.0060.01116.25
7.3.270.0100.00617.40
7.3.260.0070.01118.24
7.3.250.0140.00616.52
7.3.240.0080.00816.46
7.3.230.0100.00716.39
7.3.210.0160.00016.40
7.3.200.0100.00719.39
7.3.190.0060.01216.36
7.3.180.0060.01016.31
7.3.170.0070.01416.37
7.3.160.0080.00816.30
7.3.120.0080.00514.71
7.2.330.0120.00616.60
7.2.320.0060.01116.20
7.2.310.0130.00916.36
7.2.300.0040.01216.30
7.2.290.0130.00316.55
7.2.00.0080.00419.18
7.1.100.0070.00717.92
7.1.70.0070.00716.88
7.1.60.0140.01119.40
7.1.50.0070.01016.70
7.1.00.0000.06022.27
7.0.200.0060.00616.84
7.0.140.0030.07022.00
7.0.60.0070.06719.85
7.0.50.0070.08317.87
7.0.40.0100.04019.96
7.0.30.0230.08020.25
7.0.20.0230.08020.06
7.0.10.0170.06020.30
7.0.00.0130.08020.24
5.6.280.0030.09021.04
5.6.210.0030.06020.72
5.6.200.0070.04018.29
5.6.190.0130.07720.48
5.6.180.0370.07020.42
5.6.170.0200.03720.54
5.6.160.0030.05320.71
5.6.150.0100.03318.16
5.6.140.0070.08318.15
5.6.130.0170.04718.19
5.6.120.0100.04721.15
5.6.110.0130.06021.03
5.6.100.0070.08321.14
5.6.90.0070.08021.18
5.6.80.0100.04320.38
5.6.70.0370.05720.34
5.5.350.0170.07020.45
5.5.340.0070.03718.08
5.5.330.0100.08020.40
5.5.320.0170.04020.36
5.5.310.0170.04020.38
5.5.300.0070.04318.01
5.5.290.0100.08017.95
5.5.280.0070.04020.69
5.5.270.0030.07020.90
5.5.260.0070.06720.76
5.5.250.0030.04320.55
5.5.240.0130.07320.20
5.4.450.3830.03719.46
5.4.440.3770.03719.18
5.4.430.3500.04319.31
5.4.420.4100.05019.21
5.4.410.3700.04319.14
5.4.400.3330.04019.23
5.4.390.3730.04019.14
5.4.380.3900.03319.09
5.4.370.3930.04019.14
5.4.360.4230.03719.06
5.4.350.3100.03318.94
5.4.340.3570.03718.99
5.4.320.3800.04019.15
5.4.310.0030.05719.16
5.4.300.2330.04319.30
5.4.290.3770.04018.85
5.4.280.4100.04018.98
5.4.270.4230.03019.16
5.4.260.4200.03719.06
5.4.250.2670.04718.86
5.4.240.3430.04319.05
5.4.230.3830.03319.19
5.4.220.3530.04018.87
5.4.210.3530.03318.97
5.4.200.0030.05718.94
5.4.190.2200.03318.84
5.4.180.3700.03019.08
5.4.170.3430.03719.12
5.4.160.3470.03319.29
5.4.150.3500.03319.17
5.4.140.3700.03716.52
5.4.130.4070.04016.38
5.4.120.3830.04016.48
5.4.110.3500.03016.61
5.4.100.3930.04016.23
5.4.90.3770.03716.61
5.4.80.3470.03716.41
5.4.70.3870.03716.41
5.4.60.3770.03016.24
5.4.50.3700.03716.42
5.4.40.4030.03716.51
5.4.30.3630.04016.52
5.4.20.3730.03316.50
5.4.10.3800.04016.57
5.4.00.3300.03315.82
5.3.290.2930.04314.71
5.3.280.3700.03714.75
5.3.270.3430.04014.61
5.3.260.3470.03714.60
5.3.250.3370.04014.59
5.3.240.4100.04014.57
5.3.230.3500.03714.75
5.3.220.3570.03714.50
5.3.210.3600.03314.61
5.3.200.4430.04014.49
5.3.190.3700.04014.57
5.3.180.3800.03714.46
5.3.170.3700.04014.46
5.3.160.3730.04014.54
5.3.150.3570.04014.48
5.3.140.3000.04014.48
5.3.130.3670.03314.46
5.3.120.3700.04014.54
5.3.110.3670.04314.48
5.3.100.3570.02714.09
5.3.90.3770.03714.05
5.3.80.2500.02714.18
5.3.70.3670.04014.00
5.3.60.3930.03014.09
5.3.50.3700.04013.85
5.3.40.3770.04013.86
5.3.30.3600.04013.89
5.3.20.3730.03313.61
5.3.10.3600.03013.56
5.3.00.3730.03713.87
5.2.170.3030.02710.98
5.2.160.3270.02011.29
5.2.150.3230.02710.99
5.2.140.2970.03311.00
5.2.130.3070.03711.14
5.2.120.3300.03011.03
5.2.110.3170.02710.94
5.2.100.2730.02311.12
5.2.90.2970.03011.27
5.2.80.3170.03011.00
5.2.70.3200.03311.25
5.2.60.3230.02710.91
5.2.50.3130.03010.90
5.2.40.2370.02710.92
5.2.30.2330.03310.81
5.2.20.2400.02310.81
5.2.10.2330.02710.82
5.2.00.2430.02010.82
5.1.60.2470.01310.11
5.1.50.2330.02710.06
5.1.40.2400.02010.14
5.1.30.2400.02010.30
5.1.20.2370.02310.46
5.1.10.2330.02710.06
5.1.00.2100.02710.06
5.0.50.1170.02010.06
5.0.40.1170.02010.06
5.0.30.1170.03010.06
5.0.20.1170.02010.06
5.0.10.1170.02010.06
5.0.00.1230.03010.06
4.4.90.1430.01010.06
4.4.80.1530.01710.06
4.4.70.1170.01710.06
4.4.60.1230.01710.06
4.4.50.1170.01310.06
4.4.40.1130.03010.06
4.4.30.1270.00710.06
4.4.20.0600.01710.06
4.4.10.0930.01310.06
4.4.00.1130.02710.06
4.3.110.1230.01010.06
4.3.100.1070.01710.06
4.3.90.1170.01310.06
4.3.80.1430.02010.06
4.3.70.1170.01710.06
4.3.60.1500.01710.06
4.3.50.1500.01310.06
4.3.40.1370.02710.06
4.3.30.0570.01710.06
4.3.20.0770.01710.06
4.3.10.0900.02010.06
4.3.00.0770.01310.06

preferences:
43.06 ms | 401 KiB | 5 Q