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 = 7; } }

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.00318.06
8.3.50.0090.00721.94
8.3.40.0110.00418.57
8.3.30.0080.00618.92
8.3.20.0070.00020.16
8.3.10.0040.00422.11
8.3.00.0050.00322.39
8.2.180.0160.00316.50
8.2.170.0100.01022.96
8.2.160.0030.01020.64
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0050.00319.11
8.2.110.0040.00422.30
8.2.100.0140.00019.20
8.2.90.0070.00018.84
8.2.80.0000.00819.40
8.2.70.0060.00317.50
8.2.60.0080.00417.55
8.2.50.0080.00018.07
8.2.40.0050.00317.92
8.2.30.0030.00817.80
8.2.20.0050.00217.43
8.2.10.0030.00617.53
8.2.00.0040.00417.47
8.1.280.0130.00725.92
8.1.270.0050.00223.88
8.1.260.0040.00426.35
8.1.250.0140.00328.09
8.1.240.0060.00323.79
8.1.230.0040.00719.07
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.00917.10
8.1.190.0000.00917.39
8.1.180.0000.00818.10
8.1.170.0030.00618.59
8.1.160.0050.00521.93
8.1.150.0060.00318.49
8.1.140.0000.00717.38
8.1.130.0030.00317.75
8.1.120.0000.00717.37
8.1.110.0040.00417.18
8.1.100.0030.00317.26
8.1.90.0020.00517.37
8.1.80.0070.00017.24
8.1.70.0040.00417.28
8.1.60.0060.00317.42
8.1.50.0000.00817.34
8.1.40.0070.00017.28
8.1.30.0080.00017.50
8.1.20.0080.00017.53
8.1.10.0040.00417.41
8.1.00.0040.00417.34
8.0.300.0000.00718.77
8.0.290.0040.00417.05
8.0.280.0030.00318.23
8.0.270.0040.00417.16
8.0.260.0000.00716.60
8.0.250.0030.00316.87
8.0.240.0030.00516.82
8.0.230.0030.00316.73
8.0.220.0030.00416.68
8.0.210.0070.00016.80
8.0.200.0000.00716.82
8.0.190.0050.00516.71
8.0.180.0090.00016.68
8.0.170.0000.00816.76
8.0.160.0040.00416.71
8.0.150.0040.00416.58
8.0.140.0030.00516.77
8.0.130.0060.00013.20
8.0.120.0040.00416.68
8.0.110.0050.00216.75
8.0.100.0040.00416.73
8.0.90.0040.00416.63
8.0.80.0130.00716.71
8.0.70.0040.00416.87
8.0.60.0080.00016.63
8.0.50.0000.00716.73
8.0.30.0140.00516.79
8.0.20.0110.01117.40
8.0.10.0040.00416.88
8.0.00.0070.01416.65
7.4.330.0030.00315.00
7.4.320.0000.00716.52
7.4.300.0000.00616.30
7.4.290.0040.00416.46
7.4.280.0030.00316.30
7.4.270.0030.00316.46
7.4.260.0030.00316.44
7.4.250.0040.00416.40
7.4.240.0070.00016.40
7.4.230.0070.00016.57
7.4.220.0070.01016.45
7.4.210.0100.00716.42
7.4.200.0000.00716.57
7.4.190.0000.00716.54
7.4.160.0080.01116.52
7.4.150.0130.01017.40
7.4.140.0130.00617.86
7.4.130.0130.00716.40
7.4.120.0100.00716.31
7.4.110.0120.01216.32
7.4.100.0070.01016.26
7.4.90.0070.01016.50
7.4.80.0070.01419.39
7.4.70.0060.00916.43
7.4.60.0100.01016.28
7.4.50.0000.00816.23
7.4.40.0070.00722.77
7.4.30.0150.00016.44
7.4.00.0130.00514.79
7.3.330.0050.00012.95
7.3.320.0000.00513.10
7.3.310.0030.00316.14
7.3.300.0030.00316.18
7.3.290.0100.00716.24
7.3.280.0050.01116.09
7.3.270.0130.00617.40
7.3.260.0170.00016.29
7.3.250.0130.00516.33
7.3.240.0140.00316.40
7.3.230.0130.00316.39
7.3.210.0000.01616.43
7.3.200.0110.00719.39
7.3.190.0060.01216.13
7.3.180.0100.00616.19
7.3.170.0070.01116.39
7.3.160.0080.00816.15
7.3.120.0070.00914.65
7.3.110.0120.00614.63
7.3.100.0000.01414.66
7.3.90.0060.00314.42
7.3.80.0060.00315.01
7.3.70.0070.01014.60
7.3.60.0070.00314.73
7.3.50.0150.00014.65
7.3.40.0030.01014.73
7.3.30.0030.01314.70
7.3.20.0070.00716.67
7.3.10.0040.00916.44
7.3.00.0000.01416.24
7.2.330.0130.00616.21
7.2.320.0140.01216.39
7.2.310.0070.01416.29
7.2.300.0090.00616.48
7.2.290.0060.01016.48
7.2.250.0060.00814.69
7.2.240.0030.01714.61
7.2.230.0060.01314.78
7.2.220.0060.00314.67
7.2.210.0070.00314.89
7.2.200.0100.00314.75
7.2.190.0060.00914.90
7.2.180.0100.00314.97
7.2.170.0060.00914.78
7.2.130.0070.00716.41
7.2.120.0070.01016.24
7.2.110.0140.00416.25
7.2.100.0070.00716.40
7.2.90.0100.00316.41
7.2.80.0030.01016.45
7.2.70.0090.00916.40
7.2.60.0030.01016.51
7.2.50.0060.00916.60
7.2.40.0110.00716.15
7.2.30.0120.00616.22
7.2.20.0070.00716.43
7.2.10.0130.00616.23
7.2.00.0090.00917.65
7.1.330.0030.01315.70
7.1.320.0080.00315.61
7.1.310.0040.01115.72
7.1.300.0000.01515.41
7.1.290.0060.00615.62
7.1.280.0090.00615.41
7.1.270.0090.00615.75
7.1.260.0080.00415.64
7.1.250.0070.01015.33
7.1.200.0090.00315.59
7.1.100.0000.01017.83
7.1.70.0040.00416.95
7.1.60.0070.00719.82
7.1.50.0070.01416.75
7.1.00.0030.07322.31
7.0.200.0080.00616.60
7.0.140.0000.07321.95
7.0.60.0100.06019.86
7.0.50.0130.08017.88
7.0.40.0170.07720.30
7.0.30.0270.05020.30
7.0.20.0300.06720.24
7.0.10.0100.04720.30
7.0.00.0100.06720.22
5.6.280.0030.07321.06
5.6.210.0070.07320.52
5.6.200.0130.06718.20
5.6.190.0100.08020.47
5.6.180.0300.04720.63
5.6.170.0270.04320.45
5.6.160.0200.06020.46
5.6.150.0070.04718.23
5.6.140.0430.06018.29
5.6.130.0070.04318.20
5.6.120.0070.08321.02
5.6.110.0000.09321.14
5.6.100.0100.07720.98
5.6.90.0130.08020.96
5.6.80.0170.07320.38
5.5.350.0170.04320.43
5.5.340.0100.07017.98
5.5.330.0130.07320.27
5.5.320.0230.04020.20
5.5.310.0230.07020.34
5.5.300.0070.08017.94
5.5.290.0070.08318.01
5.5.280.0130.08020.89
5.5.270.0070.05020.86
5.5.260.0070.07020.89
5.5.250.0030.08720.63
5.5.240.0100.04320.19
5.4.450.0700.06319.57
5.4.440.0500.07019.45
5.4.430.0030.06019.21
5.4.420.0170.05019.62
5.4.410.0100.05318.94
5.4.400.0170.05018.54
5.4.390.0200.04018.75
5.4.380.0030.06018.60
5.4.370.0200.04718.62
5.4.360.0200.04718.73
5.4.350.0170.05318.73
5.4.340.0100.05718.76
5.4.320.0040.03712.50
5.4.310.0050.04012.50
5.4.300.0050.04012.50
5.4.290.0070.03612.49
5.4.280.0070.03412.36
5.4.270.0090.03612.37
5.4.260.0090.04412.36
5.4.250.0070.05212.37
5.4.240.0050.05012.37
5.4.230.0060.03712.36
5.4.220.0050.03712.36
5.4.210.0040.03812.36
5.4.200.0070.03612.36
5.4.190.0040.03912.36
5.4.180.0080.03412.35
5.4.170.0050.03712.37
5.4.160.0040.03812.36
5.4.150.0100.04312.36
5.4.140.0060.03712.05
5.4.130.0040.03712.04
5.4.120.0070.04111.99
5.4.110.0040.04911.98
5.4.100.0030.04411.98
5.4.90.0050.03811.99
5.4.80.0030.03911.99
5.4.70.0060.03611.98
5.4.60.0090.04111.98
5.4.50.0080.03711.98
5.4.40.0050.03511.97
5.4.30.0050.03711.97
5.4.20.0070.03511.97
5.4.10.0060.03611.97
5.4.00.0090.04211.46
5.3.290.0100.04012.80
5.3.280.0080.04612.71
5.3.270.0080.04212.72
5.3.260.0070.03912.72
5.3.250.0080.03712.72
5.3.240.0080.04312.72
5.3.230.0050.05312.71
5.3.220.0140.04512.68
5.3.210.0130.06112.68
5.3.200.0090.03612.68
5.3.190.0100.03612.68
5.3.180.0070.04712.67
5.3.170.0060.03912.67
5.3.160.0080.04412.68
5.3.150.0100.04012.67
5.3.140.0080.03512.66
5.3.130.0080.03712.66
5.3.120.0070.03812.66
5.3.110.0060.03912.66
5.3.100.0060.03912.11
5.3.90.0090.04612.09
5.3.80.0090.03812.07
5.3.70.0090.03912.07
5.3.60.0100.03812.06
5.3.50.0050.04112.00
5.3.40.0060.04012.00
5.3.30.0060.03511.96
5.3.20.0060.03611.73
5.3.10.0040.03711.70
5.3.00.0050.03911.69
5.2.170.0050.0319.18
5.2.160.0050.0369.18
5.2.150.0070.0379.18
5.2.140.0110.0329.18
5.2.130.0060.0319.14
5.2.120.0090.0389.14
5.2.110.0030.0329.14
5.2.100.0040.0309.15
5.2.90.0040.0319.14
5.2.80.0060.0309.15
5.2.70.0050.0319.14
5.2.60.0040.0309.09
5.2.50.0020.0329.06
5.2.40.0030.0309.04
5.2.30.0060.0289.02
5.2.20.0020.0319.00
5.2.10.0060.0388.92
5.2.00.0080.0308.79
5.1.60.0030.0278.06
5.1.50.0040.0258.06
5.1.40.0040.0258.04
5.1.30.0020.0298.39
5.1.20.0080.0288.42
5.1.10.0060.0248.14
5.1.00.0040.0258.14
5.0.50.0030.0266.61
5.0.40.0020.0206.48
5.0.30.0030.0376.29
5.0.20.0060.0186.26
5.0.10.0040.0196.24
5.0.00.0060.0286.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0030.0164.75
4.4.60.0040.0144.76
4.4.50.0030.0194.77
4.4.40.0040.0284.71
4.4.30.0040.0174.76
4.4.20.0020.0164.84
4.4.10.0060.0124.85
4.4.00.0030.0254.75
4.3.110.0030.0154.67
4.3.100.0060.0124.66
4.3.90.0020.0154.63
4.3.80.0020.0244.59
4.3.70.0010.0164.63
4.3.60.0060.0134.63
4.3.50.0040.0254.63
4.3.40.0060.0264.54
4.3.30.0020.0163.27
4.3.20.0030.0153.25
4.3.10.0010.0223.22
4.3.00.0130.0236.76

preferences:
42.15 ms | 401 KiB | 5 Q