3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T { abstract public function test(int $x); } class C { use T; 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.60.0070.01018.43
8.3.50.0030.01416.23
8.3.40.0070.01018.52
8.3.30.0120.00318.60
8.3.20.0070.00723.24
8.3.10.0080.00723.75
8.3.00.0040.01122.66
8.2.180.0100.00725.92
8.2.170.0040.01118.89
8.2.160.0110.00322.13
8.2.150.0090.00924.92
8.2.140.0100.00524.14
8.2.130.0080.00624.71
8.2.120.0090.00522.29
8.2.110.0050.00921.90
8.2.100.0110.00621.34
8.2.90.0070.00821.16
8.2.80.0120.00620.47
8.2.70.0130.00420.22
8.2.60.0100.00619.23
8.2.50.0140.00620.24
8.2.40.0120.00621.15
8.2.30.0100.00720.61
8.2.20.0090.00520.41
8.2.10.0130.00320.61
8.2.00.0110.00720.56
8.1.280.0170.00025.92
8.1.270.0080.00623.30
8.1.260.0080.00625.88
8.1.250.0060.00825.82
8.1.240.0070.00522.63
8.1.230.0030.00822.84
8.1.220.0070.00820.32
8.1.210.0120.00320.41
8.1.200.0100.00620.15
8.1.190.0070.00720.01
8.1.180.0100.00520.23
8.1.170.0090.00520.42
8.1.160.0120.00320.44
8.1.150.0090.00520.47
8.1.140.0090.00520.94
8.1.130.0110.00320.17
8.1.120.0100.00520.15
8.1.110.0080.00519.19
8.1.100.0130.00220.03
8.1.90.0090.00620.12
8.1.80.0070.00619.18
8.1.70.0090.00620.12
8.1.60.0140.00320.16
8.1.50.0110.00519.56
8.1.40.0130.00418.99
8.1.30.0100.00619.66
8.1.20.0080.00719.67
8.1.10.0110.00618.89
8.1.00.0140.00419.50
8.0.300.0090.00520.38
8.0.290.0140.00419.13
8.0.280.0120.00719.63
8.0.270.0070.00719.73
8.0.260.0120.00619.21
8.0.250.0110.00419.72
8.0.240.0120.00618.46
8.0.230.0130.00519.25
8.0.220.0140.00319.24
8.0.210.0140.00519.25
8.0.200.0110.00519.23
8.0.190.0120.00519.81
8.0.180.0100.00418.49
8.0.170.0120.00417.92
8.0.160.0130.00319.13
8.0.150.0110.00818.73
8.0.140.0120.00618.71
8.0.130.0140.00317.98
8.0.120.0110.00718.72
8.0.110.0120.00319.08
8.0.100.0130.00618.68
8.0.90.0090.01018.76
8.0.80.0090.00817.88
8.0.70.0110.00419.09
8.0.60.0120.00518.78
8.0.50.0150.00318.76
8.0.30.0100.00918.46
8.0.20.0100.00718.55
8.0.10.0130.00818.53
8.0.00.0110.00618.54
7.4.330.0120.00417.15
7.4.320.0170.00318.98
7.4.300.0170.00419.01
7.4.290.0120.00918.51
7.4.280.0160.00617.91
7.4.270.0210.00418.50
7.4.260.0200.00418.53
7.4.250.0210.00618.50
7.4.240.0210.00418.47
7.4.230.0190.00718.44
7.4.220.0200.00418.45
7.4.210.0150.00717.62
7.4.200.0160.00618.50
7.4.190.0170.00619.06
7.4.180.0200.00419.06
7.4.160.0160.00418.12
7.4.150.0150.00518.14
7.4.140.0120.00918.09
7.4.130.0170.00617.76
7.4.120.0160.00617.72
7.4.110.0110.00617.14
7.4.100.0150.00817.69
7.4.90.0160.00717.41
7.4.80.0160.00717.50
7.4.70.0150.00517.01
7.4.60.0100.00916.83
7.4.50.0100.00916.72
7.4.40.0100.00916.73
7.4.30.0110.00816.78
7.4.20.0110.00716.77
7.4.10.0100.00816.76
7.4.00.0110.00816.84
7.3.330.0190.00118.27
7.3.320.0140.00417.73
7.3.310.0160.00318.28
7.3.300.0160.00418.40
7.3.290.0150.00418.28
7.3.280.0180.00518.30
7.3.270.0120.00817.98
7.3.260.0140.00617.70
7.3.250.0160.00617.71
7.3.240.0130.00817.21
7.3.230.0170.00517.54
7.3.220.0180.00417.71
7.3.210.0170.00517.34
7.3.200.0120.00817.41
7.3.190.0130.00817.01
7.3.180.0120.00716.79
7.3.170.0130.00716.68
7.3.160.0120.00716.70
7.3.150.0120.00716.72
7.3.140.0100.00816.72
7.3.130.0110.00916.67
7.3.120.0100.00916.62
7.3.110.0120.00616.67
7.3.100.0100.01016.65
7.3.90.0110.00816.66
7.3.80.0100.00816.65
7.3.70.0100.00916.69
7.3.60.0100.00816.66
7.3.50.0110.00816.64
7.3.40.0110.00716.66
7.3.30.0100.00816.67
7.3.20.0120.00817.18
7.3.10.0310.00717.19
7.3.00.0140.00817.06
7.2.340.0220.00317.82
7.2.330.0160.00817.42
7.2.320.0160.00817.34
7.2.310.0140.00816.93
7.2.300.0140.00816.93
7.2.290.0130.00716.85
7.2.280.0140.00816.76
7.2.270.0120.00916.80
7.2.260.0120.00916.76
7.2.250.0120.00916.78
7.2.240.0120.00916.72
7.2.230.0120.00916.78
7.2.220.0130.00916.78
7.2.210.0120.00816.77
7.2.200.0120.00916.81
7.2.190.0120.00816.79
7.2.180.0120.00816.79
7.2.170.0120.00816.80
7.2.160.0120.00916.80
7.2.150.0120.00817.23
7.2.140.0130.00917.32
7.2.130.0140.00917.27
7.2.120.0130.00917.36
7.2.110.0130.00817.32
7.2.100.0130.00917.36
7.2.90.0120.00817.35
7.2.80.0140.00817.40
7.2.70.0140.00817.32
7.2.60.0110.00917.33
7.2.50.0130.00917.37
7.2.40.0120.01017.42
7.2.30.0130.00917.40
7.2.20.0110.01017.37
7.2.10.0130.00817.37
7.2.00.0120.01017.37

preferences:
49.75 ms | 401 KiB | 5 Q