3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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.0150.00618.55
8.3.50.0280.00621.20
8.3.40.0100.00718.71
8.3.30.0090.00618.58
8.3.20.0070.00019.91
8.3.10.0000.00721.77
8.3.00.0040.00420.26
8.2.180.0120.00618.41
8.2.170.0140.00322.96
8.2.160.0030.01020.51
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0090.00026.16
8.2.120.0090.00017.50
8.2.110.0000.00822.02
8.2.100.0000.01117.50
8.2.90.0000.00819.23
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0110.00017.93
8.2.50.0040.00418.07
8.2.40.0040.00419.29
8.2.30.0040.00422.41
8.2.20.0050.00317.61
8.2.10.0040.00417.92
8.2.00.0080.00018.00
8.1.280.0130.00625.92
8.1.270.0060.00323.79
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0050.00522.53
8.1.230.0130.00017.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0050.00317.10
8.1.180.0070.00018.10
8.1.170.0040.00418.70
8.1.160.0000.00822.06
8.1.150.0040.00418.81
8.1.140.0060.00317.50
8.1.130.0030.00317.57
8.1.120.0000.00717.30
8.1.110.0000.00717.26
8.1.100.0090.00017.32
8.1.90.0040.00417.39
8.1.80.0030.00617.34
8.1.70.0000.00617.29
8.1.60.0040.00417.51
8.1.50.0080.00017.43
8.1.40.0050.00317.38
8.1.30.0040.00417.46
8.1.20.0020.00517.48
8.1.10.0060.00317.31
8.1.00.0000.00717.16
8.0.300.0080.00018.77
8.0.290.0110.00016.58
8.0.280.0030.00318.25
8.0.270.0030.00517.12
8.0.260.0030.00317.08
8.0.250.0040.00416.97
8.0.240.0030.00316.96
8.0.230.0030.00316.84
8.0.220.0030.00316.79
8.0.210.0050.00316.84
8.0.200.0030.00716.95
8.0.190.0030.00616.91
8.0.180.0040.00416.86
8.0.170.0050.00316.80
8.0.160.0000.00816.92
8.0.150.0080.00016.78
8.0.140.0040.00416.88
8.0.130.0050.00513.32
8.0.120.0040.00416.73
8.0.110.0030.00516.88
8.0.100.0040.00416.89
8.0.90.0070.00016.88
8.0.80.0090.00616.91
8.0.70.0050.00316.73
8.0.60.0040.00416.94
8.0.50.0040.00416.71
8.0.30.0090.01117.10
8.0.20.0080.01117.40
8.0.10.0040.00416.93
8.0.00.0110.00716.81
7.4.330.0060.00015.08
7.4.320.0000.00616.42
7.4.300.0030.00316.42
7.4.290.0020.00516.54
7.4.280.0050.00216.51
7.4.270.0030.00316.43
7.4.260.0030.00316.39
7.4.250.0030.00316.30
7.4.240.0000.00716.44
7.4.230.0030.00516.59
7.4.220.0030.01416.45
7.4.210.0120.00316.30
7.4.200.0030.00316.39
7.4.160.0120.00316.45
7.4.150.0150.00317.40
7.4.140.0120.00817.86
7.4.130.0130.00416.45
7.4.120.0090.00916.54
7.4.110.0060.01816.63
7.4.100.0140.01016.20
7.4.90.0150.00816.41
7.4.80.0100.00619.39
7.4.70.0080.00816.61
7.4.60.0060.00916.36
7.4.50.0000.00916.57
7.4.40.0040.01316.39
7.4.30.0070.01016.56
7.4.00.0100.00714.80
7.3.330.0000.00513.31
7.3.320.0050.00013.24
7.3.310.0060.00016.25
7.3.300.0030.00316.26
7.3.290.0070.00816.22
7.3.280.0100.00816.25
7.3.270.0100.00717.40
7.3.260.0060.01116.27
7.3.250.0120.00616.31
7.3.240.0150.00616.24
7.3.230.0080.00816.39
7.3.210.0150.00616.18
7.3.200.0040.01216.30
7.3.190.0060.00916.25
7.3.180.0120.00616.34
7.3.170.0070.01016.29
7.3.160.0070.01316.17
7.3.10.0070.01216.43
7.3.00.0050.01016.22
7.2.330.0060.01216.32
7.2.320.0060.01616.35
7.2.310.0090.00916.54
7.2.300.0140.00716.25
7.2.290.0120.00916.27
7.2.130.0060.00916.44
7.2.120.0070.00816.63
7.2.110.0080.00816.57
7.2.100.0090.00916.47
7.2.90.0100.00916.60
7.2.80.0080.01016.51
7.2.70.0110.00816.62
7.2.60.0110.00416.50
7.2.50.0110.00516.33
7.2.40.0100.00816.60
7.2.30.0070.00816.50
7.2.20.0090.00716.48
7.2.10.0100.00616.51
7.2.00.0160.00717.36
7.1.250.0130.00415.32
7.1.200.0030.01015.82
7.1.70.0070.00316.96
7.1.60.0070.00717.10
7.1.50.0060.01216.88
7.1.00.0030.08722.33
7.0.200.0070.00716.64
7.0.60.0030.06319.86
7.0.50.0000.05317.86
7.0.40.0030.09320.20
7.0.30.0330.07720.26
7.0.20.0330.05020.07
7.0.10.0300.07720.16
7.0.00.0100.08320.18
5.6.280.0030.07321.10
5.6.210.0100.06320.75
5.6.200.0030.04018.19
5.6.190.0100.04320.39
5.6.180.0170.05020.45
5.6.170.0200.05020.71
5.6.160.0170.03020.57
5.6.150.0030.08718.18
5.6.140.0030.05318.23
5.6.130.0170.07018.21
5.6.120.0070.07021.01
5.6.110.0100.08721.00
5.6.100.0100.08020.88
5.6.90.0100.07320.97
5.6.80.0070.08320.35
5.6.70.0230.04020.43
5.5.350.0200.07720.32
5.5.340.0130.07317.99
5.5.330.0100.08020.25
5.5.320.0070.08020.30
5.5.310.0330.08020.30
5.5.300.0030.04317.96
5.5.290.0130.03717.99
5.5.280.0100.08320.82
5.5.270.0000.04320.84
5.5.260.0000.04320.86
5.5.250.0070.07320.58
5.5.240.0000.04320.15
5.4.450.0870.05719.20
5.4.440.0900.05719.62
5.4.430.0930.05319.38
5.4.420.0870.05719.30
5.4.410.0870.05719.17
5.4.400.0830.05319.14
5.4.390.0800.06719.23
5.4.380.1000.05718.98
5.4.370.0900.05319.01
5.4.360.0870.05718.99
5.4.350.0830.05319.05
5.4.340.0930.05719.29
5.4.320.0870.05019.22
5.4.310.0770.05718.87
5.4.300.1030.05719.28
5.4.290.1030.05319.22
5.4.280.0930.05318.98
5.4.270.0900.05319.28
5.4.260.0970.04319.22
5.4.250.0930.04719.14
5.4.240.1000.05319.14
5.4.230.1170.03719.25
5.4.220.1000.04319.28
5.4.210.0930.05719.37
5.4.200.1030.04719.37
5.4.190.0900.06319.05
5.4.180.0870.05718.85
5.4.170.0500.04319.14
5.4.160.0100.05018.86
5.4.150.0770.06719.11
5.4.140.0900.05016.47
5.4.130.0900.03716.61
5.4.120.0430.05716.45
5.4.110.0200.06016.68
5.4.100.0930.04016.51
5.4.90.0370.05716.63
5.4.80.0230.03316.55
5.4.70.0070.05716.61
5.4.60.0030.05716.49
5.4.50.0000.08016.22
5.4.40.0000.03316.43
5.4.30.0100.04716.42
5.4.20.0300.06716.53
5.4.10.0330.06016.21

preferences:
32.62 ms | 401 KiB | 5 Q