3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { protected static $bla = array('bla' => 'alex'); public function getBla() { return self::$bla; } } class TestChild extends Test { protected static $bla = array('alex' => 'bla'); public function getBla() { var_dump(parent::getBla()); } } $test = new TestChild(); $test->getBla();

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.00718.43
8.3.50.0070.01122.04
8.3.40.0040.01118.62
8.3.30.0090.00619.21
8.3.20.0000.00720.20
8.3.10.0080.00023.66
8.3.00.0060.00320.73
8.2.180.0110.00416.38
8.2.170.0170.00022.96
8.2.160.0100.00322.08
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00021.00
8.2.110.0040.00422.26
8.2.100.0040.00817.78
8.2.90.0050.00219.09
8.2.80.0040.00418.04
8.2.70.0030.00617.34
8.2.60.0060.00317.93
8.2.50.0040.00418.07
8.2.40.0030.00618.22
8.2.30.0000.00817.89
8.2.20.0050.00217.47
8.2.10.0040.00419.31
8.2.00.0050.00217.67
8.1.280.0160.00325.92
8.1.270.0040.00423.97
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.96
8.1.230.0090.00419.04
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0050.00317.30
8.1.180.0030.00518.10
8.1.170.0060.00318.59
8.1.160.0000.00721.95
8.1.150.0030.00518.47
8.1.140.0000.00717.40
8.1.130.0040.00717.71
8.1.120.0070.00017.41
8.1.110.0040.00417.39
8.1.100.0000.00817.43
8.1.90.0040.00417.42
8.1.80.0000.00717.41
8.1.70.0070.00017.35
8.1.60.0030.00517.49
8.1.50.0040.00417.52
8.1.40.0000.00817.54
8.1.30.0040.00417.61
8.1.20.0040.00417.48
8.1.10.0040.00417.60
8.1.00.0040.00417.51
8.0.300.0080.00018.77
8.0.290.0000.00717.05
8.0.280.0030.00318.29
8.0.270.0050.00217.23
8.0.260.0070.00016.80
8.0.250.0040.00416.93
8.0.240.0000.00816.90
8.0.230.0050.00316.76
8.0.220.0050.00216.86
8.0.210.0030.00316.82
8.0.200.0060.00016.82
8.0.190.0070.00016.95
8.0.180.0040.00716.82
8.0.170.0000.00816.94
8.0.160.0000.00716.76
8.0.150.0080.00016.79
8.0.140.0040.00416.68
8.0.130.0030.00313.34
8.0.120.0080.00016.81
8.0.110.0000.00716.68
8.0.100.0000.00716.74
8.0.90.0040.00316.70
8.0.80.0060.00916.78
8.0.70.0040.00416.73
8.0.60.0070.00016.72
8.0.50.0050.00316.66
8.0.30.0140.00916.95
8.0.20.0110.00817.40
8.0.10.0070.00016.86
8.0.00.0160.00616.79
7.4.330.0000.00615.03
7.4.320.0000.00616.35
7.4.300.0030.00316.51
7.4.290.0040.00416.62
7.4.280.0000.00716.63
7.4.270.0040.00416.65
7.4.260.0000.00716.58
7.4.250.0070.00016.46
7.4.240.0080.00016.54
7.4.230.0030.00316.62
7.4.220.0040.01416.44
7.4.210.0090.01016.53
7.4.200.0030.00316.39
7.4.190.0000.00716.55
7.4.160.0070.00716.49
7.4.150.0030.01617.40
7.4.140.0170.00517.86
7.4.130.0110.00616.41
7.4.120.0110.00816.47
7.4.110.0090.00616.40
7.4.100.0100.01416.41
7.4.90.0070.01016.54
7.4.80.0070.01416.59
7.4.70.0080.00816.63
7.4.60.0110.00616.38
7.4.50.0000.00516.50
7.4.40.0060.00622.77
7.4.30.0020.02116.55
7.4.00.0060.01014.97
7.3.330.0000.00513.16
7.3.320.0000.00513.16
7.3.310.0000.00716.34
7.3.300.0050.00216.35
7.3.290.0130.00016.32
7.3.280.0070.00916.31
7.3.270.0060.01117.40
7.3.260.0140.00316.41
7.3.250.0090.00816.37
7.3.240.0120.00916.49
7.3.230.0080.00816.53
7.3.210.0170.00716.36
7.3.200.0070.01419.39
7.3.190.0110.01116.42
7.3.180.0060.01016.28
7.3.170.0120.00416.51
7.3.160.0090.00616.14
7.3.120.0070.00714.79
7.2.330.0060.01616.68
7.2.320.0100.00716.57
7.2.310.0090.01216.73
7.2.300.0100.00716.54
7.2.290.0120.00416.31
7.2.00.0040.01119.59
7.1.100.0030.00917.96
7.1.70.0070.00317.15
7.1.60.0190.00619.32
7.1.50.0080.00816.80
7.1.00.0070.07322.32
7.0.200.0140.00016.35
7.0.140.0100.06722.13
7.0.60.0000.05719.89
7.0.50.0030.04317.88
7.0.40.0070.05320.09
7.0.30.0300.06720.24
7.0.20.0200.06320.06
7.0.10.0070.08320.06
7.0.00.0100.06320.23
5.6.280.0000.07721.03
5.6.210.0070.08320.65
5.6.200.0000.04718.13
5.6.190.0030.04320.48
5.6.180.0130.06720.52
5.6.170.0200.03720.71
5.6.160.0000.04320.54
5.6.150.0070.06718.14
5.6.140.0000.08718.18
5.6.130.0070.08718.16
5.6.120.0130.07721.12
5.6.110.0070.07321.00
5.6.100.0070.06721.04
5.6.90.0130.06720.97
5.6.80.0070.04320.41
5.5.350.0130.07020.39
5.5.340.0100.03718.09
5.5.330.0130.03720.46
5.5.320.0030.04720.39
5.5.310.0430.06720.22
5.5.300.0070.07717.95
5.5.290.0130.07017.97
5.5.280.0000.07320.88
5.5.270.0070.03720.89
5.5.260.0070.08320.76
5.5.250.0100.07020.69
5.5.240.0030.08020.27
5.4.450.0670.04319.57
5.4.440.1000.03319.41
5.4.430.0230.03719.54
5.4.420.0430.04019.56
5.4.410.0570.02719.17
5.4.400.0300.05318.91
5.4.390.0170.06718.42
5.4.380.0270.04718.47
5.4.370.0230.04718.77
5.4.360.0130.05718.72
5.4.350.0230.05318.50
5.4.340.0530.03718.57
5.4.320.0060.04112.50
5.4.310.0100.03512.50
5.4.300.0100.03412.51
5.4.290.0070.03812.50
5.4.280.0180.09412.38
5.4.270.0160.05812.38
5.4.260.0090.06812.37
5.4.250.0120.07512.37
5.4.240.0140.08212.37
5.4.230.0180.08012.36
5.4.220.0160.06912.36
5.4.210.0150.10912.37
5.4.200.0110.06512.36
5.4.190.0080.05112.36
5.4.180.0150.05612.36
5.4.170.0100.05412.38
5.4.160.0120.04412.36
5.4.150.0090.05512.36
5.4.140.0120.05912.04
5.4.130.0110.06212.04
5.4.120.0080.06112.00
5.4.110.0180.08611.99
5.4.100.0150.08511.98
5.4.90.0140.09411.98
5.4.80.0130.06111.99
5.4.70.0060.04911.99
5.4.60.0080.04311.98
5.4.50.0060.04011.98
5.4.40.0080.06511.98
5.4.30.0070.06511.97
5.4.20.0080.05811.97
5.4.10.0130.07511.97
5.4.00.0110.08611.46
5.3.290.0120.03812.80
5.3.280.0130.06912.71
5.3.270.0150.05712.72
5.3.260.0110.06812.72
5.3.250.0100.09612.72
5.3.240.0130.07912.72
5.3.230.0150.07812.71
5.3.220.0150.09612.68
5.3.210.0170.08012.68
5.3.200.0170.07212.68
5.3.190.0170.07112.68
5.3.180.0140.09312.68
5.3.170.0120.07612.67
5.3.160.0110.08512.67
5.3.150.0100.05112.68
5.3.140.0230.10412.66
5.3.130.0160.14112.66
5.3.120.0280.12512.65
5.3.110.0120.05312.65
5.3.100.0050.05212.12
5.3.90.0060.03812.09
5.3.80.0090.03812.08
5.3.70.0190.07912.07
5.3.60.0230.06712.07
5.3.50.0100.06712.00
5.3.40.0080.04312.00
5.3.30.0090.05311.96
5.3.20.0110.05811.74
5.3.10.0070.05111.71
5.3.00.0150.12511.70
5.2.170.0070.0459.20
5.2.160.0100.0419.19
5.2.150.0120.0609.20
5.2.140.0140.0629.19
5.2.130.0160.0669.15
5.2.120.0060.0399.15
5.2.110.0080.0339.16
5.2.100.0090.0369.16
5.2.90.0040.0409.15
5.2.80.0080.0359.15
5.2.70.0050.0339.15
5.2.60.0110.0609.10
5.2.50.0140.0629.07
5.2.40.0100.0489.04
5.2.30.0150.0689.03
5.2.20.0140.0329.00
5.2.10.0160.0518.92
5.2.00.0140.0618.79
5.1.60.0060.0418.07
5.1.50.0070.0338.07
5.1.40.0070.0348.05
5.1.30.0140.0618.39
5.1.20.0030.0398.42
5.1.10.0070.0448.15
5.1.00.0090.0408.15
5.0.50.0040.0236.62
5.0.40.0030.0226.48
5.0.30.0050.0326.29
5.0.20.0060.0216.26
5.0.10.0040.0256.24
5.0.00.0040.0476.23
4.4.90.0080.0404.78
4.4.80.0080.0304.75
4.4.70.0050.0344.75
4.4.60.0100.0364.75
4.4.50.0090.0354.77
4.4.40.0050.0324.71
4.4.30.0030.0204.76
4.4.20.0060.0384.84
4.4.10.0060.0194.85
4.4.00.0060.0294.76
4.3.110.0060.0214.67
4.3.100.0030.0274.66
4.3.90.0170.0334.63
4.3.80.0030.0284.59
4.3.70.0050.0154.63
4.3.60.0070.0244.63
4.3.50.0070.0184.62
4.3.40.0020.0374.54
4.3.30.0040.0203.29
4.3.20.0030.0163.27
4.3.10.0000.0193.23
4.3.00.0130.01315.45

preferences:
43.57 ms | 401 KiB | 5 Q