3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class exampleBaseClass { protected static $_TYPE; } class A extends exampleBaseClass { public function f() { exampleBaseClass::$_TYPE; } }

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.70.0070.01416.38
8.3.60.0100.01018.05
8.3.50.0140.00521.90
8.3.40.0110.00418.71
8.3.30.0080.00818.79
8.3.20.0070.00020.04
8.3.10.0000.00822.05
8.3.00.0040.00422.52
8.2.180.0120.00916.38
8.2.170.0140.00022.96
8.2.160.0110.00420.57
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0050.00319.23
8.2.110.0000.00920.50
8.2.100.0050.00517.66
8.2.90.0030.00618.95
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0090.00017.91
8.2.50.0030.00618.07
8.2.40.0040.00418.03
8.2.30.0060.00617.93
8.2.20.0040.00417.50
8.2.10.0050.00217.64
8.2.00.0000.00817.45
8.1.280.0110.00425.92
8.1.270.0040.00423.88
8.1.260.0000.00826.35
8.1.250.0090.00928.09
8.1.240.0090.00023.73
8.1.230.0090.00422.12
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0000.00817.38
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0090.00021.95
8.1.150.0030.00618.50
8.1.140.0070.00017.24
8.1.130.0070.00017.68
8.1.120.0020.00517.35
8.1.110.0050.00317.33
8.1.100.0040.00417.24
8.1.90.0070.00017.37
8.1.80.0030.00317.38
8.1.70.0050.00217.21
8.1.60.0040.00417.49
8.1.50.0080.00017.36
8.1.40.0040.00417.28
8.1.30.0000.00817.49
8.1.20.0000.00717.43
8.1.10.0030.00517.40
8.1.00.0050.00317.20
8.0.300.0000.00718.77
8.0.290.0070.00017.04
8.0.280.0000.00718.30
8.0.270.0000.01017.11
8.0.260.0000.00616.61
8.0.250.0040.00416.80
8.0.240.0070.00016.79
8.0.230.0000.00816.88
8.0.220.0030.00316.65
8.0.210.0000.00716.59
8.0.200.0030.00316.85
8.0.190.0000.00716.83
8.0.180.0070.00016.80
8.0.170.0030.00616.72
8.0.160.0050.00216.65
8.0.150.0000.00716.72
8.0.140.0080.00016.67
8.0.130.0000.00613.16
8.0.120.0050.00216.75
8.0.110.0050.00216.66
8.0.100.0000.00716.57
8.0.90.0040.00416.78
8.0.80.0060.01216.71
8.0.70.0030.00516.69
8.0.60.0040.00416.76
8.0.50.0040.00416.63
8.0.30.0120.01017.00
8.0.20.0100.01017.40
8.0.10.0000.00716.95
8.0.00.0130.00516.49
7.4.330.0050.00015.00
7.4.320.0000.00716.51
7.4.300.0060.00016.43
7.4.290.0040.00416.37
7.4.280.0030.00316.22
7.4.270.0030.00316.47
7.4.260.0000.00716.21
7.4.250.0040.00416.44
7.4.240.0030.00316.38
7.4.230.0000.00716.44
7.4.220.0080.00816.48
7.4.210.0100.00616.42
7.4.200.0030.00316.27
7.4.190.0000.00716.31
7.4.160.0060.00916.23
7.4.150.0160.00917.40
7.4.140.0080.01017.86
7.4.130.0050.01416.46
7.4.120.0110.00516.42
7.4.110.0100.00716.28
7.4.100.0100.00716.39
7.4.90.0100.00716.38
7.4.80.0170.01019.39
7.4.70.0070.01116.32
7.4.60.0100.00616.25
7.4.50.0000.00816.13
7.4.40.0060.00922.77
7.4.30.0060.00916.46
7.4.00.0030.00914.75
7.3.330.0020.00213.00
7.3.320.0050.00013.04
7.3.310.0030.00316.18
7.3.300.0000.00816.18
7.3.290.0090.00416.14
7.3.280.0080.00816.13
7.3.270.0160.00617.40
7.3.260.0030.01316.10
7.3.250.0080.01016.32
7.3.240.0060.01016.15
7.3.230.0140.00316.39
7.3.210.0030.01316.38
7.3.200.0090.01219.39
7.3.190.0100.00716.19
7.3.180.0030.01316.30
7.3.170.0040.01116.29
7.3.160.0030.01316.39
7.3.120.0060.01014.85
7.2.330.0030.01416.32
7.2.320.0170.00716.50
7.2.310.0120.00616.53
7.2.300.0060.01016.37
7.2.290.0060.01016.16
7.2.00.0040.01119.13
7.1.100.0000.01118.05
7.1.70.0000.01016.98
7.1.60.0070.00719.82
7.1.50.0090.01216.69
7.1.00.0030.07322.33
7.0.200.0100.00316.59
7.0.140.0100.06722.21
7.0.60.0030.07319.90
7.0.50.0070.03717.96
7.0.40.0000.04720.13
7.0.30.0500.07720.25
7.0.20.0230.08320.21
7.0.10.0270.04020.09
7.0.00.0100.07020.30
5.6.280.0100.06720.96
5.6.210.0100.04020.50
5.6.200.0130.07018.20
5.6.190.0000.06720.39
5.6.180.0300.07720.62
5.6.170.0270.04720.50
5.6.160.0100.08320.71
5.6.150.0130.03018.18
5.6.140.0100.06718.28
5.6.130.0130.07718.27
5.6.120.0000.06721.04
5.6.110.0100.06021.00
5.6.100.0170.07321.11
5.6.90.0130.07721.08
5.6.80.0070.08020.38
5.6.70.0270.07320.36
5.5.350.0300.07020.32
5.5.340.0170.06717.94
5.5.330.0130.07320.19
5.5.320.0270.07720.28
5.5.310.0230.08320.34
5.5.300.0000.04717.97
5.5.290.0030.04017.98
5.5.280.0000.04720.85
5.5.270.0000.04320.96
5.5.260.0070.03720.87
5.5.250.0000.04320.58
5.5.240.0070.03320.19
5.4.450.1030.04319.46
5.4.440.0130.06019.23
5.4.430.0100.05719.44
5.4.420.0030.06019.36
5.4.410.0070.05718.68
5.4.400.0100.05018.84
5.4.390.0170.04718.86
5.4.380.0170.04718.76
5.4.370.0130.05318.69
5.4.360.0030.06018.64
5.4.350.0130.05718.60
5.4.340.0070.06018.57
5.4.320.0050.03812.50
5.4.310.0040.04212.49
5.4.300.0060.03612.50
5.4.290.0060.04612.49
5.4.280.0040.04012.37
5.4.270.0100.03912.36
5.4.260.0100.03712.37
5.4.250.0060.03812.37
5.4.240.0040.04112.37
5.4.230.0050.04412.36
5.4.220.0080.04112.36
5.4.210.0080.04712.36
5.4.200.0050.04312.36
5.4.190.0060.03812.36
5.4.180.0070.04912.35
5.4.170.0030.04112.36
5.4.160.0090.03312.36
5.4.150.0040.03812.36
5.4.140.0080.04212.04
5.4.130.0060.03612.03
5.4.120.0040.03711.99
5.4.110.0050.03711.98
5.4.100.0060.03811.99
5.4.90.0010.04311.99
5.4.80.0060.04811.98
5.4.70.0080.04711.98
5.4.60.0060.03511.98
5.4.50.0150.04211.98
5.4.40.0030.03711.96
5.4.30.0050.03911.96
5.4.20.0060.03711.97
5.4.10.0050.03511.96
5.4.00.0040.03811.46
5.3.290.0040.04112.80
5.3.280.0040.04512.71
5.3.270.0060.04312.73
5.3.260.0050.04112.72
5.3.250.0060.03812.72
5.3.240.0050.04512.72
5.3.230.0090.03612.70
5.3.220.0040.03812.68
5.3.210.0070.03912.68
5.3.200.0080.03912.68
5.3.190.0080.04412.68
5.3.180.0060.04412.67
5.3.170.0050.04112.67
5.3.160.0070.03812.67
5.3.150.0060.03612.68
5.3.140.0050.03712.66
5.3.130.0060.03812.66
5.3.120.0070.03712.66
5.3.110.0050.04512.66
5.3.100.0090.03912.12
5.3.90.0060.03512.08
5.3.80.0060.03912.08
5.3.70.0080.03412.07
5.3.60.0040.04012.06
5.3.50.0080.03812.00
5.3.40.0040.03812.00
5.3.30.0080.03311.96
5.3.20.0050.03611.74
5.3.10.0070.03411.70
5.3.00.0070.04711.69
5.2.170.0050.0329.18
5.2.160.0050.0379.18
5.2.150.0080.0339.18
5.2.140.0070.0359.18
5.2.130.0070.0299.14
5.2.120.0090.0389.14
5.2.110.0060.0369.14
5.2.100.0080.0259.15
5.2.90.0060.0289.16
5.2.80.0050.0349.14
5.2.70.0040.0359.14
5.2.60.0040.0369.09
5.2.50.0070.0349.07
5.2.40.0050.0329.04
5.2.30.0060.0299.02
5.2.20.0050.0289.00
5.2.10.0050.0278.91
5.2.00.0050.0288.78
5.1.60.0030.0308.05
5.1.50.0040.0248.06
5.1.40.0080.0208.04
5.1.30.0030.0288.39
5.1.20.0030.0288.41
5.1.10.0030.0278.14
5.1.00.0020.0278.13
5.0.50.0040.0226.61
5.0.40.0030.0276.48
5.0.30.0020.0386.29
5.0.20.0050.0186.26
5.0.10.0040.0196.23
5.0.00.0050.0296.22
4.4.90.0040.0204.78
4.4.80.0030.0224.76
4.4.70.0040.0204.76
4.4.60.0040.0204.75
4.4.50.0020.0234.77
4.4.40.0040.0324.71
4.4.30.0030.0214.76
4.4.20.0040.0214.84
4.4.10.0050.0204.84
4.4.00.0050.0304.76
4.3.110.0050.0204.67
4.3.100.0040.0204.66
4.3.90.0050.0194.63
4.3.80.0050.0294.59
4.3.70.0040.0194.63
4.3.60.0040.0204.63
4.3.50.0040.0214.63
4.3.40.0050.0244.53
4.3.30.0040.0193.27
4.3.20.0070.0123.25
4.3.10.0040.0133.22
4.3.00.0000.02315.11

preferences:
45.64 ms | 401 KiB | 5 Q