3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Specification {} trait Specification {} interface DefaultSpecification {} trait DefaultSpecification {} class DefaultSpecification {} class Eh extends DefaultSpecification { use DefaultSpecification; }

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.0060.00918.46
8.3.50.0090.01021.31
8.3.40.0180.00018.71
8.3.30.0120.00318.39
8.3.20.0080.00020.13
8.3.10.0040.00421.64
8.3.00.0000.00820.09
8.2.180.0180.00318.34
8.2.170.0120.00322.96
8.2.160.0000.01420.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00626.16
8.2.120.0090.00017.50
8.2.110.0100.00022.09
8.2.100.0110.00017.72
8.2.90.0050.00317.62
8.2.80.0080.00017.97
8.2.70.0040.00417.93
8.2.60.0040.00418.16
8.2.50.0050.00218.10
8.2.40.0070.00019.34
8.2.30.0000.00819.18
8.2.20.0050.00217.55
8.2.10.0070.00018.04
8.2.00.0080.00017.89
8.1.280.0130.00625.92
8.1.270.0060.00323.97
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0100.00023.91
8.1.230.0040.00720.92
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0070.00417.25
8.1.190.0000.00817.13
8.1.180.0050.00318.10
8.1.170.0030.00618.48
8.1.160.0040.00418.81
8.1.150.0000.00718.73
8.1.140.0030.00617.38
8.1.130.0040.00417.41
8.1.120.0030.00517.43
8.1.110.0040.00417.26
8.1.100.0040.00417.36
8.1.90.0070.00017.38
8.1.80.0000.00717.26
8.1.70.0070.00017.39
8.1.60.0080.00017.54
8.1.50.0030.00517.42
8.1.40.0080.00017.33
8.1.30.0000.00917.57
8.1.20.0030.00617.64
8.1.10.0000.00717.39
8.1.00.0040.00417.22
8.0.300.0040.00421.94
8.0.290.0040.00416.75
8.0.280.0040.00418.41
8.0.270.0070.00017.17
8.0.260.0050.00316.76
8.0.250.0000.00816.82
8.0.240.0000.00616.84
8.0.230.0030.00316.82
8.0.220.0030.00316.88
8.0.210.0000.00816.78
8.0.200.0000.01016.96
8.0.190.0000.00916.82
8.0.180.0070.00016.79
8.0.170.0070.00016.78
8.0.160.0000.00716.86
8.0.150.0000.00816.75
8.0.140.0000.00716.86
8.0.130.0000.00713.19
8.0.120.0070.00016.74
8.0.110.0000.00716.77
8.0.100.0080.00016.93
8.0.90.0000.00716.97
8.0.80.0120.00616.81
8.0.70.0040.00416.88
8.0.60.0030.00316.91
8.0.50.0000.00716.88
8.0.30.0050.01216.94
8.0.20.0150.00517.40
8.0.10.0080.00017.09
8.0.00.0080.01016.58
7.4.330.0000.00515.08
7.4.320.0030.00316.43
7.4.300.0030.00316.41
7.4.290.0030.00316.40
7.4.280.0030.00616.54
7.4.270.0050.00216.52
7.4.260.0040.00416.40
7.4.250.0050.00216.38
7.4.240.0040.00416.55
7.4.230.0050.00216.50
7.4.220.0060.01116.54
7.4.210.0060.00916.55
7.4.200.0000.00716.35
7.4.160.0120.00316.52
7.4.150.0060.01217.40
7.4.140.0120.01017.86
7.4.130.0090.00816.34
7.4.120.0090.00816.44
7.4.110.0040.01416.57
7.4.100.0090.00816.61
7.4.90.0100.01316.54
7.4.80.0100.00719.39
7.4.70.0130.00316.59
7.4.60.0070.01016.39
7.4.50.0030.00616.03
7.4.40.0140.00516.30
7.4.30.0150.00616.37
7.4.00.0030.01115.05
7.3.330.0020.00213.06
7.3.320.0000.00513.20
7.3.310.0070.00016.13
7.3.300.0030.00316.11
7.3.290.0110.00616.21
7.3.280.0110.00816.21
7.3.270.0120.00617.40
7.3.260.0080.00816.34
7.3.250.0130.00616.34
7.3.240.0000.01616.43
7.3.230.0030.01516.40
7.3.210.0030.01316.37
7.3.200.0060.01516.32
7.3.190.0090.00616.30
7.3.180.0090.01416.44
7.3.170.0090.00616.31
7.3.160.0180.00316.38
7.2.330.0030.01616.43
7.2.320.0070.01016.54
7.2.310.0100.01316.63
7.2.300.0030.01316.54
7.2.290.0160.00616.62
7.2.60.0000.01516.55
7.2.00.0040.01419.04
7.1.200.0070.00415.70
7.1.100.0070.00717.89
7.1.70.0030.00517.13
7.1.60.0140.01019.14
7.1.50.0200.01634.83
7.1.00.0030.07722.28
7.0.200.0000.01116.76
7.0.60.0170.08019.91
7.0.50.0070.03717.95
7.0.40.0170.07719.96
7.0.30.0230.04720.26
7.0.20.0330.08020.09
7.0.10.0170.08320.23
7.0.00.0070.09020.16
5.6.280.0000.07321.02
5.6.210.0100.06320.67
5.6.200.0100.08018.19
5.6.190.0100.08020.32
5.6.180.0330.07320.30
5.6.170.0170.05020.50
5.6.160.0070.06020.50
5.6.150.0030.05318.29
5.6.140.0100.05718.20
5.6.130.0030.04018.16
5.6.120.0130.06321.13
5.6.110.0130.05321.02
5.6.100.0170.08320.96
5.6.90.0100.08320.95
5.6.80.0070.04320.41
5.6.70.0130.03320.38
5.5.350.0370.07020.43
5.5.340.0070.04717.97
5.5.330.0100.07720.43
5.5.320.0070.08020.20
5.5.310.0330.05320.51
5.5.300.0100.06718.04
5.5.290.0030.08317.95
5.5.280.0070.04320.68
5.5.270.0100.06720.76
5.5.260.0100.06320.86
5.5.250.0100.07320.57
5.5.240.0130.03720.12
5.4.450.0870.06019.59
5.4.440.0930.05019.59
5.4.430.0900.05019.38
5.4.420.0870.05719.58
5.4.410.0870.05319.22
5.4.400.0930.04718.88
5.4.390.0930.05019.23
5.4.380.0800.06019.31
5.4.370.0970.05319.28
5.4.360.0870.05019.01
5.4.350.0900.05018.87
5.4.340.0830.05319.13
5.4.320.0830.05319.01
5.4.310.0930.04719.14
5.4.300.0830.05319.30
5.4.290.1000.05719.38
5.4.280.0870.05019.25
5.4.270.0970.05019.03
5.4.260.0870.04719.26
5.4.250.0900.04319.14
5.4.240.0930.05019.11
5.4.230.0970.06719.11
5.4.220.1000.04719.07
5.4.210.0870.06019.25
5.4.200.0830.05319.13
5.4.190.0930.05019.25
5.4.180.1000.04019.13
5.4.170.0870.05319.00
5.4.160.0970.04319.21
5.4.150.0970.04719.18
5.4.140.0800.06016.53
5.4.130.0900.04316.60
5.4.120.0900.04716.53
5.4.110.0900.05016.66
5.4.100.0930.04316.70
5.4.90.0900.05016.46
5.4.80.0800.05316.48
5.4.70.0000.04016.59
5.4.60.0030.07716.51
5.4.50.0070.04716.42
5.4.40.0030.07016.34
5.4.30.0230.06716.16
5.4.20.0370.05316.43
5.4.10.0370.06316.48

preferences:
53.15 ms | 401 KiB | 5 Q