3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T { abstract public function test(int $x); } abstract class P { use T; } class C extends P { public function test(string $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.3.140.0080.00016.72
8.3.130.0100.01018.44
8.3.120.0130.00620.96
8.3.110.0030.00616.75
8.3.100.0100.00624.06
8.3.90.0040.00426.77
8.3.80.0030.00719.36
8.3.70.0140.00418.30
8.3.60.0140.00718.56
8.3.50.0070.01424.47
8.3.40.0070.00718.62
8.3.30.0190.00018.46
8.3.20.0040.00420.52
8.3.10.0080.00021.99
8.3.00.0040.00421.91
8.2.250.0030.00616.71
8.2.240.0150.00416.82
8.2.230.0060.00320.94
8.2.220.0030.00537.54
8.2.210.0060.00326.77
8.2.200.0030.00618.88
8.2.190.0170.00318.04
8.2.180.0120.00425.92
8.2.170.0000.01519.01
8.2.160.0100.00322.00
8.2.150.0110.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0000.00821.05
8.2.110.0000.00820.94
8.2.100.0040.00817.72
8.2.90.0050.00317.50
8.2.80.0000.00818.66
8.2.70.0040.00419.65
8.2.60.0080.00017.97
8.2.50.0040.00419.21
8.2.40.0040.00421.02
8.2.30.0050.00319.16
8.2.20.0040.00418.00
8.2.10.0000.00719.05
8.2.00.0000.00719.16
8.1.300.0100.01017.70
8.1.290.0060.00330.84
8.1.280.0070.01425.92
8.1.270.0000.00922.02
8.1.260.0080.00826.35
8.1.250.0070.00028.09
8.1.240.0100.00019.13
8.1.230.0110.00020.88
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0050.00317.13
8.1.180.0040.00418.66
8.1.170.0040.00418.59
8.1.160.0070.00018.91
8.1.150.0030.00319.00
8.1.140.0000.00820.66
8.1.130.0030.00617.38
8.1.120.0060.00317.41
8.1.110.0070.00017.41
8.1.100.0020.00517.41
8.1.90.0000.00917.39
8.1.80.0030.00517.36
8.1.70.0030.00317.27
8.1.60.0050.00517.41
8.1.50.0080.00017.35
8.1.40.0000.00817.46
8.1.30.0080.00017.63
8.1.20.0040.00417.47
8.1.10.0030.00517.25
8.1.00.0040.00417.25
8.0.300.0000.00719.86
8.0.290.0000.00816.63
8.0.280.0030.00318.28
8.0.270.0040.00416.82
8.0.260.0060.00016.69
8.0.250.0030.00316.96
8.0.240.0070.00016.90
8.0.230.0070.00016.86
8.0.220.0070.00016.77
8.0.210.0000.00716.85
8.0.200.0040.00417.00
8.0.190.0000.00717.00
8.0.180.0080.00016.93
8.0.170.0030.00516.76
8.0.160.0030.00316.83
8.0.150.0030.00316.83
8.0.140.0030.00516.75
8.0.130.0030.00313.35
8.0.120.0080.00016.73
8.0.110.0080.00016.80
8.0.100.0000.00816.71
8.0.90.0030.00516.89
8.0.80.0070.00716.91
8.0.70.0070.00016.77
8.0.60.0080.00016.82
8.0.50.0040.00417.00
8.0.30.0090.00616.96
8.0.20.0150.00317.40
8.0.10.0100.01017.40
8.0.00.0040.01116.96
7.4.330.0000.00616.79
7.4.320.0030.00316.36
7.4.300.0060.00016.38
7.4.290.0000.00716.38
7.4.280.0050.00516.43
7.4.270.0000.00716.50
7.4.260.0000.00613.13
7.4.250.0050.00316.46
7.4.240.0050.00216.51
7.4.230.0030.00316.61
7.4.220.0020.00516.41
7.4.210.0060.00916.52
7.4.200.0000.00716.32
7.4.150.0070.01317.40
7.4.140.0070.01117.40
7.4.130.0090.01016.90
7.4.120.0120.01116.97
7.4.110.0140.00616.97
7.4.100.0110.01016.98
7.4.90.0090.00916.77
7.4.80.0070.01118.40
7.4.70.0140.00416.88
7.4.60.0120.00916.91
7.4.50.0080.00916.87
7.4.40.0140.00416.87
7.4.30.0070.01117.40
7.4.20.0150.00417.40
7.4.10.0120.00616.95
7.4.00.0080.01116.96
7.3.330.0070.00016.36
7.3.320.0030.00313.30
7.3.310.0030.00316.32
7.3.300.0030.00316.18
7.3.290.0080.00716.28
7.3.270.0140.00317.40
7.3.260.0070.01116.89
7.3.250.0110.00817.40
7.3.240.0130.00616.66
7.3.230.0140.00716.96
7.3.220.0160.00317.40
7.3.210.0080.01216.84
7.3.200.0110.01116.84
7.3.190.0050.01316.92
7.3.180.0110.00716.81
7.3.170.0060.01216.88
7.3.160.0120.01116.85
7.3.150.0140.00517.40
7.3.140.0140.00517.40
7.3.130.0070.01216.80
7.3.120.0090.00916.98
7.3.110.0160.00316.82
7.3.100.0090.01016.86
7.3.90.0120.00616.85
7.3.80.0120.00716.90
7.3.70.0130.01116.85
7.3.60.0100.00716.84
7.3.50.0170.00516.76
7.3.40.0130.00616.83
7.3.30.0120.00516.88
7.3.20.0160.00516.84
7.3.10.0090.01216.93
7.3.00.0130.00916.86
7.2.340.0110.01117.40
7.2.330.0130.00616.87
7.2.320.0110.00716.91
7.2.310.0100.00917.04
7.2.300.0120.00817.03
7.2.290.0090.01016.96
7.2.280.0120.00817.40
7.2.270.0080.01217.40
7.2.260.0130.00716.98
7.2.250.0140.00616.94
7.2.240.0120.00616.87
7.2.230.0040.01616.91
7.2.220.0080.01016.97
7.2.210.0110.01116.93
7.2.200.0070.01316.97
7.2.190.0080.01016.92
7.2.180.0060.01516.96
7.2.170.0060.01316.93
7.2.160.0110.01116.92
7.2.150.0070.01316.87
7.2.140.0130.01216.91
7.2.130.0220.00716.83
7.2.120.0180.00616.88
7.2.110.0170.00616.82
7.2.100.0180.00616.87
7.2.90.0180.00816.81
7.2.80.0090.01116.88
7.2.70.0080.00916.90
7.2.60.0160.00316.93
7.2.50.0050.01316.85
7.2.40.0060.01216.86
7.2.30.0110.00616.89
7.2.20.0080.01116.86
7.2.10.0310.00816.89
7.2.00.0130.00416.97

preferences:
41.91 ms | 403 KiB | 5 Q