3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { protected static $_b = null; public static function bExists() { var_dump(static::$_b, isset(static::$_b)); } } class B extends A { } A::bExists(); B::bExists();

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.0070.00716.71
8.3.50.0070.00922.05
8.3.40.0110.00418.59
8.3.30.0070.00718.84
8.3.20.0000.00720.17
8.3.10.0040.00421.77
8.3.00.0040.00417.75
8.2.180.0100.00616.32
8.2.170.0030.01022.96
8.2.160.0030.01020.53
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00821.02
8.2.110.0030.00622.25
8.2.100.0090.00317.59
8.2.90.0000.00819.20
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0040.00418.05
8.2.50.0030.00518.07
8.2.40.0050.00318.22
8.2.30.0070.00018.12
8.2.20.0040.00417.72
8.2.10.0040.00418.05
8.2.00.0040.00417.70
8.1.280.0090.00625.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00723.71
8.1.230.0110.00019.07
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00817.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0080.00018.71
8.1.160.0000.00721.94
8.1.150.0040.00418.71
8.1.140.0000.00717.34
8.1.130.0030.00317.81
8.1.120.0000.00717.39
8.1.110.0000.00717.38
8.1.100.0000.00717.41
8.1.90.0000.00717.39
8.1.80.0000.00717.34
8.1.70.0000.00717.27
8.1.60.0040.00417.54
8.1.50.0030.00517.46
8.1.40.0000.00817.44
8.1.30.0030.00617.53
8.1.20.0050.00317.62
8.1.10.0040.00417.40
8.1.00.0030.00617.51
8.0.300.0000.00718.77
8.0.290.0050.00316.63
8.0.280.0000.00718.43
8.0.270.0050.00317.23
8.0.260.0060.00017.27
8.0.250.0030.00316.99
8.0.240.0050.00316.96
8.0.230.0040.00316.83
8.0.220.0000.00716.93
8.0.210.0000.00616.79
8.0.200.0070.00016.95
8.0.190.0030.00516.98
8.0.180.0040.00416.77
8.0.170.0080.00016.89
8.0.160.0030.00316.73
8.0.150.0000.00716.77
8.0.140.0040.00416.72
8.0.130.0050.00313.29
8.0.120.0000.00816.77
8.0.110.0040.00416.81
8.0.100.0040.00416.68
8.0.90.0030.00316.80
8.0.80.0120.00316.80
8.0.70.0070.00016.67
8.0.60.0000.00716.71
8.0.50.0000.00916.80
8.0.30.0110.00916.96
8.0.20.0150.00917.40
8.0.10.0040.00416.97
8.0.00.0100.00716.54
7.4.330.0020.00215.00
7.4.320.0080.00016.42
7.4.300.0030.00316.49
7.4.290.0070.00016.41
7.4.280.0040.00416.54
7.4.270.0030.00316.45
7.4.260.0070.00016.31
7.4.250.0040.00416.44
7.4.240.0020.00616.36
7.4.230.0070.00016.27
7.4.220.0080.00816.48
7.4.210.0060.00916.63
7.4.200.0000.00716.27
7.4.160.0030.01316.51
7.4.150.0100.00717.40
7.4.140.0050.01117.86
7.4.130.0120.00416.44
7.4.120.0100.00716.44
7.4.110.0140.00316.33
7.4.100.0080.00916.44
7.4.90.0110.00616.54
7.4.80.0070.01119.39
7.4.70.0060.01216.57
7.4.60.0000.01616.42
7.4.50.0040.00016.38
7.4.40.0090.00916.63
7.4.30.0040.01316.21
7.4.00.0030.01315.01
7.3.330.0000.00513.16
7.3.320.0030.00313.23
7.3.310.0000.00616.18
7.3.300.0000.00716.14
7.3.290.0140.00016.25
7.3.280.0110.00716.26
7.3.270.0160.00617.40
7.3.260.0090.01016.55
7.3.250.0090.01116.32
7.3.240.0120.00916.46
7.3.230.0160.00716.39
7.3.210.0100.00716.53
7.3.200.0190.00319.39
7.3.190.0140.00816.23
7.3.180.0030.01516.21
7.3.170.0090.00616.57
7.3.160.0090.00616.21
7.3.120.0030.01314.84
7.2.330.0140.00316.53
7.2.320.0070.01016.59
7.2.310.0060.01216.30
7.2.300.0130.00316.37
7.2.290.0040.01216.62
7.2.80.0060.00316.44
7.2.60.0060.00916.77
7.2.50.0100.01016.60
7.2.00.0090.00619.45
7.1.200.0000.01115.80
7.1.100.0070.00718.20
7.1.70.0030.00717.09
7.1.60.0150.00919.70
7.1.50.0060.00916.83
7.1.00.0070.07322.36
7.0.200.0000.00716.82
7.0.140.0070.07021.91
7.0.60.0070.08020.01
7.0.50.0000.05317.83
7.0.40.0070.04720.11
7.0.30.0400.07020.15
7.0.20.0300.06720.12
7.0.10.0070.08320.12
7.0.00.0070.04320.20
5.6.280.0030.07320.86
5.6.210.0030.07020.71
5.6.200.0000.04318.16
5.6.190.0100.04720.46
5.6.180.0200.03720.63
5.6.170.0170.05320.40
5.6.160.0170.07720.57
5.6.150.0100.06718.11
5.6.140.0070.08018.19
5.6.130.0070.08718.15
5.6.120.0070.07021.05
5.6.110.0070.05720.98
5.6.100.0070.04720.95
5.6.90.0100.08720.96
5.6.80.0130.03020.35
5.5.350.0030.03320.36
5.5.340.0070.05018.08
5.5.330.0000.04720.13
5.5.320.0300.04020.29
5.5.310.0270.07720.26
5.5.300.0000.04018.08
5.5.290.0070.07717.93
5.5.280.0030.07720.78
5.5.270.0100.08320.76
5.5.260.0100.08020.65
5.5.250.0070.08020.69
5.5.240.0170.04320.26
5.4.450.0630.05319.45
5.4.440.0170.06719.58
5.4.430.0270.04719.52
5.4.420.0170.06319.63
5.4.410.0070.05318.81
5.4.400.0470.06718.82
5.4.390.1470.05318.46
5.4.380.0070.07318.71
5.4.370.0000.04318.74
5.4.360.0100.03318.59
5.4.350.0040.03812.02
5.4.340.0090.04312.02
5.4.320.0070.04112.50
5.4.310.0060.05312.50
5.4.300.0030.04912.50
5.4.290.0120.05212.50
5.4.280.0070.04112.39
5.4.270.0080.03512.39
5.4.260.0050.04012.39
5.4.250.0040.04112.39
5.4.240.0110.03512.40
5.4.230.0070.06812.39
5.4.220.0080.05512.39
5.4.210.0070.05312.39
5.4.200.0080.04712.39
5.4.190.0050.05312.38
5.4.180.0150.04412.38
5.4.170.0090.05612.39
5.4.160.0130.04912.39
5.4.150.0070.04812.38
5.4.140.0110.05012.07
5.4.130.0130.05112.06
5.4.120.0090.05212.02
5.4.110.0090.05012.01
5.4.100.0100.04712.01
5.4.90.0120.06112.01
5.4.80.0130.05012.01
5.4.70.0120.04612.01
5.4.60.0100.04212.00
5.4.50.0100.04712.01
5.4.40.0070.04412.00
5.4.30.0110.04511.99
5.4.20.0170.03911.99
5.4.10.0120.04712.00
5.4.00.0120.04611.48
5.3.290.0040.04012.80
5.3.280.0110.04612.71
5.3.270.0060.04112.73
5.3.260.0050.04112.72
5.3.250.0070.03912.72
5.3.240.0050.04112.72
5.3.230.0130.03312.71
5.3.220.0070.03912.68
5.3.210.0080.04912.68
5.3.200.0030.04412.68
5.3.190.0090.04412.67
5.3.180.0070.05212.67
5.3.170.0130.04612.67
5.3.160.0110.04812.67
5.3.150.0070.05312.68
5.3.140.0070.05312.66
5.3.130.0110.05112.66
5.3.120.0100.05112.66
5.3.110.0110.04912.66
5.3.100.0060.05212.12
5.3.90.0100.05112.10
5.3.80.0140.04512.09
5.3.70.0060.05112.09
5.3.60.0110.04812.08
5.3.50.0100.03712.04
5.3.40.0080.03612.02
5.3.30.0040.03811.98
5.3.20.0070.03511.76
5.3.10.0130.03011.73
5.3.00.0110.03611.71
5.2.170.0090.0369.22
5.2.160.0030.0449.22
5.2.150.0090.0409.23
5.2.140.0140.0339.22
5.2.130.0080.0399.18
5.2.120.0060.0389.18
5.2.110.0150.0309.18
5.2.100.0120.0339.18
5.2.90.0050.0379.18
5.2.80.0070.0409.17
5.2.70.0080.0399.18
5.2.60.0090.0379.13
5.2.50.0110.0369.10
5.2.40.0100.0359.07
5.2.30.0080.0389.05
5.2.20.0060.0389.04
5.2.10.0080.0358.95
5.2.00.0130.0338.81
5.1.60.0080.0328.09
5.1.50.0090.0298.09
5.1.40.0060.0368.07
5.1.30.0080.0338.42
5.1.20.0070.0348.44
5.1.10.0040.0348.16
5.1.00.0070.0318.17
5.0.50.0100.0246.64
5.0.40.0090.0236.50
5.0.30.0080.0376.32
5.0.20.0070.0256.28
5.0.10.0060.0266.25
5.0.00.0110.0346.25
4.4.90.0040.0184.78
4.4.80.0040.0224.75
4.4.70.0040.0204.76
4.4.60.0010.0174.76
4.4.50.0040.0144.77
4.4.40.0010.0274.71
4.4.30.0040.0154.75
4.4.20.0070.0134.84
4.4.10.0010.0184.85
4.4.00.0050.0264.76
4.3.110.0030.0174.67
4.3.100.0010.0184.66
4.3.90.0030.0154.63
4.3.80.0050.0224.58
4.3.70.0050.0124.63
4.3.60.0060.0114.63
4.3.50.0030.0154.63
4.3.40.0030.0244.54
4.3.30.0020.0173.30
4.3.20.0030.0173.28
4.3.10.0030.0163.23
4.3.00.0230.0238.35

preferences:
40.93 ms | 401 KiB | 5 Q