3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class A { protected $_a; } class B extends A { use T; public static $allowedGetActions = array('view', 'browse', 'browseSet', 'browseRelation'); } trait T { protected $_a; public static $allowedGetActions = array(); } new B;

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.0130.00616.50
8.3.50.0110.00721.89
8.3.40.0040.01118.53
8.3.30.0110.00418.62
8.3.20.0000.00720.26
8.3.10.0020.00223.60
8.3.00.0000.00817.25
8.2.180.0120.00318.54
8.2.170.0100.01022.96
8.2.160.0030.01022.14
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0110.00017.63
8.2.110.0030.00622.20
8.2.100.0040.00717.80
8.2.90.0040.00419.05
8.2.80.0050.00317.97
8.2.70.0000.00917.38
8.2.60.0080.00017.68
8.2.50.0060.00318.07
8.2.40.0070.00019.40
8.2.30.0030.00520.60
8.2.20.0000.00717.48
8.2.10.0030.00617.97
8.2.00.0050.00217.85
8.1.280.0090.01225.92
8.1.270.0000.00923.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00022.48
8.1.230.0070.00417.66
8.1.220.0000.00817.74
8.1.210.0100.00018.77
8.1.200.0060.00317.35
8.1.190.0060.00317.36
8.1.180.0060.00318.10
8.1.170.0050.00218.67
8.1.160.0000.00721.91
8.1.150.0070.00018.82
8.1.140.0030.00619.60
8.1.130.0030.00317.63
8.1.120.0000.00717.29
8.1.110.0000.00717.42
8.1.100.0000.00817.40
8.1.90.0000.00717.41
8.1.80.0080.00317.37
8.1.70.0000.00717.21
8.1.60.0000.00817.41
8.1.50.0040.00417.54
8.1.40.0040.00417.32
8.1.30.0050.00317.51
8.1.20.0080.00017.59
8.1.10.0040.00417.26
8.1.00.0000.00817.20
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00418.37
8.0.270.0030.00317.07
8.0.260.0030.00317.09
8.0.250.0000.00716.82
8.0.240.0030.00516.89
8.0.230.0080.00016.98
8.0.220.0030.00316.84
8.0.210.0030.00516.87
8.0.200.0060.00316.95
8.0.190.0040.00816.83
8.0.180.0000.00716.93
8.0.170.0040.00416.97
8.0.160.0000.00816.94
8.0.150.0000.00716.78
8.0.140.0030.00316.88
8.0.130.0060.00013.33
8.0.120.0030.00516.83
8.0.110.0040.00416.89
8.0.100.0070.00016.94
8.0.90.0000.00716.69
8.0.80.0090.00616.82
8.0.70.0070.00016.71
8.0.60.0050.00316.80
8.0.50.0050.00216.78
8.0.30.0110.00717.09
8.0.20.0110.00817.40
8.0.10.0040.00416.80
8.0.00.0070.01116.67
7.4.330.0000.00515.08
7.4.320.0070.00016.43
7.4.300.0030.00316.34
7.4.290.0030.00316.40
7.4.280.0000.00816.47
7.4.270.0030.00316.43
7.4.260.0030.00316.50
7.4.250.0030.00616.36
7.4.240.0020.00516.38
7.4.230.0040.00416.36
7.4.220.0150.01216.52
7.4.210.0070.00816.51
7.4.200.0000.00716.36
7.4.160.0030.01316.38
7.4.150.0090.01217.40
7.4.140.0140.00817.86
7.4.130.0060.01116.56
7.4.120.0090.01116.46
7.4.110.0070.01016.29
7.4.100.0120.00616.72
7.4.90.0130.00616.48
7.4.80.0070.01019.39
7.4.70.0110.00916.42
7.4.60.0070.01016.45
7.4.50.0080.00016.30
7.4.40.0140.00316.55
7.4.30.0060.01316.47
7.4.00.0070.00914.80
7.3.330.0000.00513.28
7.3.320.0000.00713.25
7.3.310.0030.00316.34
7.3.300.0000.00716.33
7.3.290.0100.00816.24
7.3.280.0090.00816.25
7.3.270.0100.00617.40
7.3.260.0080.00816.19
7.3.250.0080.00916.38
7.3.240.0080.01116.36
7.3.230.0030.01316.39
7.3.210.0140.00416.60
7.3.200.0080.00816.52
7.3.190.0040.01416.29
7.3.180.0060.01216.21
7.3.170.0030.01416.28
7.3.160.0070.00716.51
7.3.120.0060.00614.99
7.3.110.0030.01415.08
7.3.100.0040.00814.75
7.3.90.0000.01614.87
7.3.80.0080.00414.86
7.3.70.0090.00614.80
7.3.60.0080.00414.53
7.3.50.0030.01014.49
7.3.40.0040.00714.80
7.3.30.0100.00614.73
7.3.20.0070.00716.59
7.3.10.0070.00716.48
7.3.00.0040.00416.46
7.2.330.0090.01516.54
7.2.320.0070.01616.63
7.2.310.0060.01016.41
7.2.300.0120.00416.30
7.2.290.0070.01016.56
7.2.250.0070.01314.86
7.2.240.0060.00915.05
7.2.230.0000.01514.77
7.2.220.0040.00714.78
7.2.210.0000.01514.92
7.2.200.0080.00814.84
7.2.190.0040.01214.68
7.2.180.0060.00615.02
7.2.170.0030.00914.75
7.2.60.0090.00616.79
7.2.00.0070.01019.04
7.1.330.0070.01015.51
7.1.320.0030.00915.48
7.1.310.0050.00315.61
7.1.300.0040.00415.63
7.1.290.0000.01315.70
7.1.280.0070.01015.81
7.1.270.0040.00715.61
7.1.260.0030.00615.63
7.1.200.0060.00615.59
7.1.100.0030.00518.03
7.1.70.0000.00716.89
7.1.60.0030.02419.43
7.1.50.0090.01216.82
7.1.00.0070.07322.46
7.0.200.0800.00714.59
7.0.60.0130.03320.05
7.0.50.0070.08017.96
7.0.40.0030.09020.12
7.0.30.0130.06020.26
7.0.20.0170.04020.23
7.0.10.0170.05320.26
7.0.00.0130.07720.09
5.6.280.0000.03321.04
5.6.210.0070.05320.62
5.6.200.0200.06718.25
5.6.190.0030.06020.49
5.6.180.0500.06320.47
5.6.170.0130.05320.59
5.6.160.0070.07320.44
5.6.150.0070.04018.21
5.6.140.0030.08018.18
5.6.130.0170.06718.18
5.6.120.0000.04721.03
5.6.110.0100.08321.02
5.6.100.0100.05720.98
5.6.90.0100.08320.95
5.6.80.0100.06320.29
5.5.350.0300.07320.44
5.5.340.0070.08317.95
5.5.330.0030.06720.43
5.5.320.0230.07320.27
5.5.310.0270.06020.41
5.5.300.0100.07717.93
5.5.290.0030.06017.99
5.5.280.0000.04320.79
5.5.270.0130.07720.79
5.5.260.0000.04720.67
5.5.250.0030.04020.58
5.5.240.0000.04320.26
5.4.450.0730.04719.66
5.4.440.0570.06019.46
5.4.430.0830.07719.16
5.4.420.0770.04319.65
5.4.410.0670.06019.36
5.4.400.0670.04319.15
5.4.390.0770.06319.28
5.4.380.0700.04719.24
5.4.370.0670.05019.34
5.4.360.0870.03319.24
5.4.350.0570.04719.22
5.4.340.0530.05319.13
5.4.320.0570.05018.84
5.4.310.0600.05718.88
5.4.300.0500.05718.87
5.4.290.0570.07719.14
5.4.280.0700.05719.21
5.4.270.0600.05319.00
5.4.260.0770.04319.24
5.4.250.0630.06018.98
5.4.240.0700.05319.23
5.4.230.0600.05318.84
5.4.220.0570.06019.09
5.4.210.0630.05018.84
5.4.200.0630.05019.27
5.4.190.0700.04319.34
5.4.180.0670.04719.32
5.4.170.0530.05018.88
5.4.160.0600.05319.21
5.4.150.0530.05719.10
5.4.140.0600.05316.52
5.4.130.0670.06016.73
5.4.120.0530.05716.74
5.4.110.0600.05016.66
5.4.100.0530.05716.47
5.4.90.0530.04716.50
5.4.80.0600.05016.55
5.4.70.0630.04716.45
5.4.60.0630.05016.63
5.4.50.0670.05016.57
5.4.40.0570.05716.61
5.4.30.0600.05316.16
5.4.20.0500.05716.48
5.4.10.0630.05016.42
5.4.00.0700.04015.71

preferences:
48.08 ms | 401 KiB | 5 Q