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{ LOL::shit as private not_needed; } }

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.0090.00819.27
8.5.20.0110.00720.07
8.5.10.0130.00319.57
8.5.00.0140.00819.91
8.4.180.0100.01225.71
8.4.170.0100.01223.87
8.4.160.0110.01023.79
8.4.150.0070.00516.76
8.4.140.0190.01017.72
8.4.130.0130.00617.92
8.4.120.0070.00920.32
8.4.110.0120.00922.57
8.4.100.0100.00917.45
8.4.90.0130.00817.90
8.4.80.0120.00817.87
8.4.70.0080.00917.65
8.4.60.0080.01318.53
8.4.50.0140.00623.29
8.4.40.0080.00022.33
8.4.30.0120.00619.36
8.4.20.0130.00618.66
8.4.10.0060.00319.58
8.3.300.0110.00920.73
8.3.290.0070.01220.85
8.3.280.0130.00720.04
8.3.270.0130.00716.44
8.3.260.0120.00816.83
8.3.250.0110.00718.98
8.3.240.0050.00616.72
8.3.230.0120.00716.57
8.3.220.0100.00617.23
8.3.210.0070.00416.86
8.3.200.0010.00816.73
8.3.190.0100.00917.30
8.3.180.0060.00216.54
8.3.170.0150.00316.61
8.3.160.0090.00916.70
8.3.150.0060.01217.12
8.3.140.0070.01116.70
8.3.130.0040.00418.60
8.3.120.0090.00020.78
8.3.110.0160.00320.94
8.3.100.0050.00516.91
8.3.90.0000.00726.77
8.3.80.0030.00618.56
8.3.70.0060.01318.30
8.3.60.0110.00318.43
8.3.50.0120.00921.92
8.3.40.0110.00718.66
8.3.30.0070.00718.42
8.3.20.0040.00419.59
8.3.10.0080.00020.23
8.3.00.0060.00323.66
8.2.300.0060.00318.89
8.2.290.0110.00822.09
8.2.280.0060.00520.05
8.2.270.0120.00616.80
8.2.260.0150.00318.57
8.2.250.0070.00716.88
8.2.240.0120.00416.93
8.2.230.0060.00322.58
8.2.220.0090.00024.06
8.2.210.0000.01526.77
8.2.200.0060.00316.38
8.2.190.0090.00616.58
8.2.180.0110.00716.38
8.2.170.0110.00418.73
8.2.160.0140.00722.96
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00420.35
8.2.120.0060.00326.35
8.2.110.0080.00019.14
8.2.100.0060.00917.74
8.2.90.0090.00018.94
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0050.00318.04
8.2.50.0000.00819.21
8.2.40.0060.00320.45
8.2.30.0070.00020.38
8.2.20.0000.00717.86
8.2.10.0000.00717.91
8.2.00.0030.00318.00
8.1.340.0140.00821.47
8.1.330.0100.00818.36
8.1.320.0140.00616.30
8.1.310.0030.00316.59
8.1.300.0060.00316.05
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0040.00420.60
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0070.00423.73
8.1.230.0080.00321.04
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0020.00518.10
8.1.170.0030.00618.66
8.1.160.0000.00718.80
8.1.150.0030.00320.30
8.1.140.0040.00421.95
8.1.130.0030.00320.61
8.1.120.0050.00317.39
8.1.110.0080.00017.36
8.1.100.0040.00417.29
8.1.90.0030.00317.41
8.1.80.0000.00917.37
8.1.70.0030.00617.32
8.1.60.0060.00317.50
8.1.50.0030.00617.30
8.1.40.0040.00417.30
8.1.30.0000.00917.50
8.1.20.0000.00817.53
8.1.10.0000.00817.23
8.1.00.0000.00717.20
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.38
8.0.270.0070.00017.11
8.0.260.0040.00417.18
8.0.250.0060.00016.95
8.0.240.0020.00516.82
8.0.230.0000.00716.94
8.0.220.0030.00316.79
8.0.210.0070.00016.79
8.0.200.0000.00716.86
8.0.190.0080.00016.82
8.0.180.0000.00816.87
8.0.170.0070.00016.94
8.0.160.0030.00316.96
8.0.150.0060.00316.79
8.0.140.0000.00816.79
8.0.130.0060.00013.29
8.0.120.0070.00016.80
8.0.110.0000.00716.94
8.0.100.0040.00416.81
8.0.90.0030.00516.87
8.0.80.0000.01516.88
8.0.70.0040.00416.78
8.0.60.0050.00216.91
8.0.50.0000.00716.91
8.0.30.0120.00816.97
8.0.20.0140.01117.40
8.0.10.0000.00817.03
8.0.00.0060.01216.70
7.4.330.0020.00215.55
7.4.320.0090.00016.49
7.4.300.0000.00716.42
7.4.290.0040.00416.38
7.4.280.0030.00416.52
7.4.270.0080.00016.57
7.4.260.0000.00716.48
7.4.250.0000.00916.25
7.4.240.0070.00016.55
7.4.230.0000.00716.53
7.4.220.0060.01116.45
7.4.210.0160.00416.57
7.4.200.0000.00716.50
7.4.160.0130.00716.42
7.4.150.0210.00017.40
7.4.140.0070.01117.86
7.4.130.0100.00916.35
7.4.120.0150.00516.43
7.4.110.0070.01716.48
7.4.100.0080.00816.50
7.4.90.0070.01016.42
7.4.80.0090.00919.39
7.4.70.0000.01716.38
7.4.60.0070.00716.31
7.4.50.0070.00516.34
7.4.40.0190.00016.58
7.4.30.0110.00516.27
7.4.00.0030.01414.94
7.3.330.0060.00013.29
7.3.320.0050.00013.30
7.3.310.0030.00316.32
7.3.300.0030.00316.30
7.3.290.0070.01016.28
7.3.280.0070.01116.23
7.3.270.0100.00717.40
7.3.260.0120.00516.29
7.3.250.0080.01016.32
7.3.240.0030.01316.37
7.3.230.0000.01716.39
7.3.210.0090.00616.23
7.3.200.0140.00816.56
7.3.190.0070.01016.25
7.3.180.0030.01316.35
7.3.170.0030.01416.30
7.3.160.0120.00316.20
7.3.10.0030.01216.51
7.3.00.0060.01016.33
7.2.330.0110.00816.66
7.2.320.0030.01616.63
7.2.310.0100.00716.69
7.2.300.0070.01016.55
7.2.290.0100.00616.39
7.2.130.0120.00316.78
7.2.120.0120.00316.70
7.2.110.0120.00416.85
7.2.100.0100.01016.78
7.2.90.0000.01516.73
7.2.80.0110.00616.66
7.2.70.0030.01316.58
7.2.60.0070.00916.72
7.2.50.0040.01116.33
7.2.40.0100.00616.54
7.2.30.0000.01616.38
7.2.20.0040.01116.79
7.2.10.0030.01016.83
7.2.00.0040.01218.01
7.1.250.0030.01015.61
7.1.240.0030.01015.35
7.1.230.0030.00715.78
7.1.220.0030.01015.58
7.1.210.0000.01815.72
7.1.200.0030.01015.59
7.1.190.0060.00615.48
7.1.180.0000.01015.62
7.1.170.0060.00915.46
7.1.160.0070.00715.52
7.1.150.0070.00715.79
7.1.140.0040.01115.59
7.1.130.0000.01315.41
7.1.120.0060.00315.33
7.1.110.0030.01015.38
7.1.100.0040.01016.81
7.1.90.0070.00715.46
7.1.80.0030.01315.82
7.1.70.0070.00416.32
7.1.60.0060.00816.15
7.1.50.0110.00816.27
7.1.40.0070.00715.39
7.1.30.0030.00715.53
7.1.20.0530.04227.14
7.1.10.0350.03717.97
7.1.00.0500.03318.04
7.0.330.0030.01015.25
7.0.320.0070.01015.26
7.0.310.0030.00715.22
7.0.300.0060.00915.11
7.0.290.0030.00715.39
7.0.280.0000.00915.45
7.0.270.0030.01015.21
7.0.260.0100.00315.27
7.0.250.0000.00915.28
7.0.240.0040.01115.33
7.0.230.0000.01314.99
7.0.220.0030.01015.16
7.0.210.0060.00915.13
7.0.200.0050.00916.02
7.0.190.0130.00715.04
7.0.180.0080.00015.33
7.0.170.0100.00315.29
7.0.160.0370.03217.61
7.0.150.0360.03517.64
7.0.140.0370.03717.52
7.0.130.0430.02917.58
7.0.120.0600.03217.70
7.0.110.0640.03217.61
7.0.100.0650.03617.65
7.0.90.0720.03517.55
7.0.80.0300.04017.65
7.0.70.0560.03417.73
7.0.60.0320.03517.56
7.0.50.0310.03617.66
7.0.40.0420.03616.81
7.0.30.0400.03216.74
7.0.20.0350.03216.71
7.0.10.0280.03716.62
7.0.00.0350.02816.69
5.6.380.0030.00714.17

preferences:
45.73 ms | 1660 KiB | 5 Q