3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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.0120.00318.45
8.3.50.0070.01521.08
8.3.40.0040.01118.59
8.3.30.0100.00318.42
8.3.20.0040.00420.04
8.3.10.0070.00021.65
8.3.00.0040.00420.15
8.2.180.0110.00718.17
8.2.170.0140.00022.96
8.2.160.0130.00320.34
8.2.150.0000.00924.18
8.2.140.0080.00024.66
8.2.130.0140.00026.16
8.2.120.0030.00517.50
8.2.110.0060.00619.24
8.2.100.0090.00317.91
8.2.90.0080.00018.99
8.2.80.0050.00317.97
8.2.70.0080.00017.50
8.2.60.0060.00618.03
8.2.50.0060.00318.07
8.2.40.0080.00019.23
8.2.30.0000.00822.46
8.2.20.0000.00717.65
8.2.10.0000.00717.86
8.2.00.0000.00717.99
8.1.280.0130.01025.92
8.1.270.0030.00523.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00621.24
8.1.230.0000.01117.42
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0060.00318.64
8.1.160.0070.00022.00
8.1.150.0040.00418.80
8.1.140.0040.00417.33
8.1.130.0070.00017.51
8.1.120.0070.00017.40
8.1.110.0030.00417.27
8.1.100.0000.00817.38
8.1.90.0050.00217.23
8.1.80.0050.00317.25
8.1.70.0040.00417.33
8.1.60.0070.00017.55
8.1.50.0000.00817.35
8.1.40.0020.00517.34
8.1.30.0040.00417.55
8.1.20.0040.00417.60
8.1.10.0050.00217.34
8.1.00.0000.00717.30
8.0.300.0000.00718.77
8.0.290.0000.00716.58
8.0.280.0030.00318.41
8.0.270.0000.00717.19
8.0.260.0050.00317.17
8.0.250.0070.00016.93
8.0.240.0070.00016.96
8.0.230.0030.00316.98
8.0.220.0000.00716.78
8.0.210.0050.00316.89
8.0.200.0050.00516.94
8.0.190.0030.00816.87
8.0.180.0050.00316.95
8.0.170.0050.00316.92
8.0.160.0030.00516.80
8.0.150.0040.00416.86
8.0.140.0040.00416.90
8.0.130.0060.00013.23
8.0.120.0020.00516.85
8.0.110.0070.00016.93
8.0.100.0030.00616.94
8.0.90.0000.00716.88
8.0.80.0070.00716.76
8.0.70.0040.00416.75
8.0.60.0000.00716.68
8.0.50.0070.00016.70
8.0.30.0120.00717.07
8.0.20.0100.01017.40
8.0.10.0000.00717.07
8.0.00.0080.01016.70
7.4.330.0000.00515.08
7.4.320.0000.00616.58
7.4.300.0000.00616.32
7.4.290.0070.00016.44
7.4.280.0000.00716.35
7.4.270.0030.00316.59
7.4.260.0030.00316.53
7.4.250.0030.00516.37
7.4.240.0030.00316.48
7.4.230.0040.00416.23
7.4.220.0180.00016.41
7.4.210.0120.00816.44
7.4.200.0000.00716.33
7.4.160.0120.00316.43
7.4.150.0110.01117.40
7.4.140.0120.00517.86
7.4.130.0060.01316.52
7.4.120.0140.00516.35
7.4.110.0030.01416.36
7.4.100.0030.01416.29
7.4.90.0070.01016.24
7.4.80.0190.00619.39
7.4.70.0170.00716.39
7.4.60.0170.00016.42
7.4.50.0030.00616.23
7.4.40.0120.00616.43
7.4.30.0030.01416.35
7.4.00.0070.01014.72
7.3.330.0060.00013.02
7.3.320.0000.00513.22
7.3.310.0000.00716.19
7.3.300.0030.00316.08
7.3.290.0050.01216.23
7.3.280.0070.01116.26
7.3.270.0030.01517.40
7.3.260.0030.01316.31
7.3.250.0110.00616.31
7.3.240.0100.01316.29
7.3.230.0110.00416.39
7.3.210.0060.01016.13
7.3.200.0120.00916.42
7.3.190.0080.00816.32
7.3.180.0060.01616.34
7.3.170.0100.00716.38
7.3.160.0080.01516.28
7.3.120.0100.00714.53
7.3.110.0040.01114.41
7.3.100.0080.00414.73
7.3.90.0060.00814.78
7.3.80.0060.00914.81
7.3.70.0110.00314.71
7.3.60.0000.01214.56
7.3.50.0110.00314.90
7.3.40.0030.00714.75
7.3.30.0000.01114.57
7.3.20.0060.00616.70
7.3.10.0060.00416.65
7.3.00.0070.00516.65
7.2.330.0060.01216.37
7.2.320.0030.01416.38
7.2.310.0150.00916.54
7.2.300.0060.01216.45
7.2.290.0150.00316.56
7.2.240.0000.01615.04
7.2.230.0000.01814.82
7.2.220.0000.01615.01
7.2.210.0160.00014.84
7.2.200.0060.00914.79
7.2.190.0040.00814.83
7.2.180.0060.01014.76
7.2.170.0030.01314.92
7.2.160.0000.01614.83
7.2.150.0110.00316.73
7.2.140.0030.01416.71
7.2.130.0100.00416.62
7.2.120.0040.00816.71
7.2.110.0060.00616.83
7.2.100.0100.00516.80
7.2.90.0040.00816.69
7.2.80.0090.00516.88
7.2.70.0060.00516.72
7.2.60.0060.00716.63
7.2.50.0030.01116.83
7.2.40.0030.00716.73
7.2.30.0070.00716.68
7.2.20.0050.01116.72
7.2.10.0120.00216.68
7.2.00.0070.00717.52
7.1.330.0030.00715.75
7.1.320.0000.01215.34
7.1.310.0080.00815.85
7.1.300.0070.00715.83
7.1.290.0040.00815.73
7.1.280.0060.00915.59
7.1.270.0070.00315.43
7.1.260.0000.01215.34
7.1.250.0000.01315.64
7.1.200.0060.00615.57
7.1.100.0070.00418.10
7.1.70.0100.00017.00
7.1.60.0070.01719.14
7.1.50.0220.01634.80
7.1.00.0070.07722.34
7.0.200.0030.00716.75
7.0.60.0070.04720.00
7.0.50.0030.08317.87
7.0.40.0100.05320.13
7.0.30.0200.04320.13
7.0.20.0170.04020.34
7.0.10.0070.06720.15
7.0.00.0130.07720.14
5.6.280.0000.07320.77
5.6.210.0100.07020.75
5.6.200.0030.09018.22
5.6.190.0000.04720.60
5.6.180.0070.08020.47
5.6.170.0130.04720.71
5.6.160.0130.07720.52
5.6.150.0100.07718.18
5.6.140.0000.04018.15
5.6.130.0100.07718.15
5.6.120.0130.03320.99
5.6.110.0030.04021.13
5.6.100.0070.06721.11
5.6.90.0100.07321.10
5.6.80.0000.04320.41
5.5.350.4200.04320.44
5.5.340.0100.08017.97
5.5.330.0030.05320.41
5.5.320.0400.07020.27
5.5.310.0230.04720.25
5.5.300.0070.06718.08
5.5.290.0030.08318.04
5.5.280.0130.05720.87
5.5.270.0030.09320.84
5.5.260.0000.04320.95
5.5.250.0030.08020.48
5.5.240.0170.07320.04
5.4.450.0900.05019.48
5.4.440.0870.05719.39
5.4.430.0830.06019.47
5.4.420.0900.04719.57
5.4.410.1070.04019.50
5.4.400.0830.05319.02
5.4.390.0900.05019.14
5.4.380.0930.06719.15
5.4.370.0970.04318.98
5.4.360.0900.05319.29
5.4.350.0930.04319.30
5.4.340.0900.04719.14
5.4.320.0930.05318.87
5.4.310.0870.04719.22
5.4.300.0830.05018.84
5.4.290.0900.05018.98
5.4.280.0930.05719.26
5.4.270.0930.04718.84
5.4.260.1070.04019.14
5.4.250.0900.04719.27
5.4.240.0830.05719.05
5.4.230.0870.05319.11
5.4.220.0900.05719.28
5.4.210.0870.05318.97
5.4.200.0970.05319.13
5.4.190.1000.07319.25
5.4.180.0730.06318.85
5.4.170.0900.05318.83
5.4.160.0930.05019.03
5.4.150.0900.05019.35
5.4.140.0900.04716.61
5.4.130.0870.05716.34
5.4.120.0900.04716.46
5.4.110.0930.04316.48
5.4.100.0930.04316.29
5.4.90.1000.04316.48
5.4.80.0830.05316.63
5.4.70.0070.06016.57
5.4.60.0030.05716.43
5.4.50.0030.05016.50
5.4.40.0070.06316.25
5.4.30.0330.04016.48
5.4.20.0300.05016.30
5.4.10.0330.05016.53

preferences:
66.14 ms | 401 KiB | 5 Q