3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ final function shit(){} } trait LOL{ function bar(){} function shit(){} } class Bar extends Foo{ use LOL{ parent::shit insteadof LOL; } }

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.5.30.0120.00519.39
8.5.20.0120.00520.32
8.5.10.0110.00619.52
8.5.00.0150.00719.96
8.4.180.0120.00919.84
8.4.170.0100.01320.44
8.4.160.0130.01023.69
8.4.150.0100.00316.82
8.4.140.0110.00917.64
8.4.130.0160.00918.73
8.4.120.0110.00824.24
8.4.110.0130.00922.41
8.4.100.0120.00817.78
8.4.90.0060.00318.46
8.4.80.0110.00918.00
8.4.70.0130.00617.80
8.4.60.0120.00818.82
8.4.50.0130.01119.41
8.4.40.0030.00622.28
8.4.30.0040.00419.63
8.4.20.0130.00718.50
8.4.10.0150.00919.58
8.3.300.0100.01420.70
8.3.290.0050.00520.96
8.3.280.0130.00818.38
8.3.270.0120.00716.57
8.3.260.0150.00416.61
8.3.250.0120.00618.91
8.3.240.0110.00916.96
8.3.230.0140.00516.73
8.3.220.0120.00617.11
8.3.210.0080.01116.52
8.3.200.0040.00516.77
8.3.190.0150.00316.93
8.3.180.0070.00818.47
8.3.170.0070.01116.47
8.3.160.0040.01116.57
8.3.150.0000.00817.28
8.3.140.0060.00316.72
8.3.130.0080.00018.52
8.3.120.0000.00918.97
8.3.110.0130.00618.43
8.3.100.0040.00418.30
8.3.90.0040.00418.31
8.3.80.0000.00919.36
8.3.70.0180.00316.63
8.3.60.0090.00618.31
8.3.50.0120.00821.09
8.3.40.0080.00818.85
8.3.30.0100.01018.72
8.3.20.0080.00019.77
8.3.10.0080.00020.48
8.3.00.0000.00823.40
8.2.300.0110.01322.11
8.2.290.0100.00720.31
8.2.280.0040.00618.26
8.2.270.0190.00016.25
8.2.260.0140.00018.65
8.2.250.0050.00316.37
8.2.240.0110.00716.96
8.2.230.0060.01320.94
8.2.220.0070.01324.06
8.2.210.0050.00326.77
8.2.200.0060.00316.38
8.2.190.0030.01716.58
8.2.180.0090.00618.41
8.2.170.0070.01318.82
8.2.160.0070.01122.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00420.47
8.2.120.0080.00026.35
8.2.110.0030.01419.45
8.2.100.0060.00619.16
8.2.90.0080.00019.73
8.2.80.0050.00517.97
8.2.70.0030.00617.91
8.2.60.0080.00017.90
8.2.50.0080.00019.32
8.2.40.0040.00420.61
8.2.30.0020.00520.42
8.2.20.0000.00717.98
8.2.10.0040.00417.98
8.2.00.0050.00317.96
8.1.340.0130.00619.36
8.1.330.0080.01021.65
8.1.320.0210.00516.27
8.1.310.0040.00416.56
8.1.300.0070.01016.10
8.1.290.0060.00318.88
8.1.280.0070.01125.92
8.1.270.0050.00220.48
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0080.00020.56
8.1.230.0040.00719.22
8.1.220.0000.00717.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0040.00418.67
8.1.150.0000.00720.25
8.1.140.0000.00719.44
8.1.130.0030.00317.31
8.1.120.0000.00717.27
8.1.110.0000.00917.34
8.1.100.0080.00017.28
8.1.90.0000.00717.22
8.1.80.0100.00017.27
8.1.70.0070.00317.26
8.1.60.0080.00017.45
8.1.50.0080.00017.32
8.1.40.0040.00417.37
8.1.30.0000.00817.41
8.1.20.0040.00417.50
8.1.10.0000.00717.26
8.1.00.0000.00717.38
8.0.300.0000.00719.99
8.0.290.0000.00716.63
8.0.280.0030.00318.35
8.0.270.0040.00417.12
8.0.260.0070.00016.73
8.0.250.0070.00016.82
8.0.240.0040.00416.89
8.0.230.0070.00016.91
8.0.220.0040.00316.69
8.0.210.0000.00716.69
8.0.200.0000.00716.89
8.0.190.0040.00416.77
8.0.180.0000.00716.86
8.0.170.0080.00016.80
8.0.160.0050.00216.92
8.0.150.0040.00416.81
8.0.140.0000.00716.80
8.0.130.0060.00013.28
8.0.120.0000.00716.79
8.0.110.0040.00416.68
8.0.100.0030.00516.69
8.0.90.0000.00816.64
8.0.80.0060.00916.77
8.0.70.0070.00016.70
8.0.60.0040.00416.85
8.0.50.0000.00716.82
8.0.30.0120.00617.04
8.0.20.0120.00717.40
8.0.10.0080.00016.92
8.0.00.0100.00716.62
7.4.330.0060.00015.55
7.4.320.0080.00016.47
7.4.300.0060.00016.53
7.4.290.0030.00616.57
7.4.280.0030.00316.42
7.4.270.0030.00316.53
7.4.260.0030.00316.35
7.4.250.0070.00016.39
7.4.240.0000.00816.45
7.4.230.0040.00416.55
7.4.220.0060.01216.59
7.4.210.0030.01016.48
7.4.200.0030.00316.31
7.4.160.0070.00916.31
7.4.150.0150.00317.40
7.4.140.0060.01117.86
7.4.130.0100.00816.47
7.4.120.0140.00716.51
7.4.110.0100.00716.44
7.4.100.0060.01116.54
7.4.90.0100.00716.52
7.4.80.0080.01219.39
7.4.70.0090.00916.68
7.4.60.0060.01216.35
7.4.50.0000.01216.26
7.4.40.0120.00316.47
7.4.30.0090.00616.48
7.4.00.0000.01214.97
7.3.330.0050.00013.07
7.3.320.0060.00013.14
7.3.310.0040.00416.14
7.3.300.0000.00716.25
7.3.290.0060.00816.29
7.3.280.0090.00916.28
7.3.270.0260.02617.40
7.3.260.0110.00616.25
7.3.250.0130.00716.39
7.3.240.0130.00716.32
7.3.230.0150.00316.40
7.3.210.0060.00916.31
7.3.200.0100.00716.27
7.3.190.0060.01116.26
7.3.180.0120.00316.32
7.3.170.0130.00316.40
7.3.160.0070.01716.23
7.3.10.0160.00616.06
7.3.00.0130.00616.17
7.2.330.0090.00916.53
7.2.320.0030.01416.26
7.2.310.0130.00316.57
7.2.300.0170.00016.58
7.2.290.0100.00716.55
7.2.130.0140.00516.34
7.2.120.0110.00716.25
7.2.110.0150.00816.28
7.2.100.0060.01016.51
7.2.90.0180.00016.56
7.2.80.0170.00016.40
7.2.70.0100.00616.60
7.2.60.0090.00816.54
7.2.50.0150.00516.75
7.2.40.0140.00716.35
7.2.30.0100.01016.64
7.2.20.0110.00916.23
7.2.10.0130.01016.34
7.2.00.0080.00616.66
7.1.250.0120.00315.22
7.1.200.0100.00715.75
7.1.70.0000.00817.08
7.1.60.0060.00616.81
7.1.50.0070.01616.89
7.1.20.0800.07038.47
7.1.10.0500.06320.39
7.1.00.0470.06720.56
7.0.200.0030.00616.76
7.0.160.0600.07019.90
7.0.150.0600.05019.98
7.0.140.0500.05720.05
7.0.130.0530.05720.20
7.0.120.0570.05720.11
7.0.110.0470.06020.13
7.0.100.0570.05720.00
7.0.90.0600.06020.20
7.0.80.0630.06020.02
7.0.70.0870.07020.04
7.0.60.0800.07720.22
7.0.50.1170.07320.12
7.0.40.0930.09020.04
7.0.30.0630.07320.03
7.0.20.0700.06320.10
7.0.10.0900.07720.10
7.0.00.0970.06020.04

preferences:
93.09 ms | 1497 KiB | 5 Q