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() + self::$bla); } } $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.0090.00618.43
8.3.50.0190.01022.05
8.3.40.0170.00318.96
8.3.30.0070.00719.09
8.3.20.0110.00720.30
8.3.10.0030.01023.53
8.3.00.0100.01020.63
8.2.180.0150.00416.50
8.2.170.0100.01022.96
8.2.160.0070.00722.13
8.2.150.0120.00324.18
8.2.140.0120.00324.66
8.2.130.0050.00226.16
8.2.120.0030.00519.48
8.2.110.0030.00619.39
8.2.100.0070.00418.22
8.2.90.0030.00619.08
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0060.00318.03
8.2.50.0000.01018.10
8.2.40.0030.00520.59
8.2.30.0000.00821.04
8.2.20.0040.00417.70
8.2.10.0030.00617.69
8.2.00.0070.00017.70
8.1.280.0040.01825.92
8.1.270.0030.00623.81
8.1.260.0000.00826.35
8.1.250.0070.01128.09
8.1.240.0090.00022.54
8.1.230.0080.00320.37
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0100.00017.11
8.1.190.0080.00017.12
8.1.180.0000.00818.10
8.1.170.0000.00818.33
8.1.160.0040.00418.79
8.1.150.0000.00720.07
8.1.140.0040.00417.26
8.1.130.0070.00017.81
8.1.120.0070.00017.36
8.1.110.0000.00917.41
8.1.100.0040.00417.29
8.1.90.0030.00517.23
8.1.80.0000.00817.39
8.1.70.0030.00317.39
8.1.60.0090.00317.53
8.1.50.0060.00317.52
8.1.40.0000.00817.46
8.1.30.0040.00417.64
8.1.20.0040.00417.66
8.1.10.0020.00517.53
8.1.00.0030.00517.37
8.0.300.0000.00718.77
8.0.290.0070.00016.58
8.0.280.0040.00418.46
8.0.270.0040.00417.10
8.0.260.0040.00416.82
8.0.250.0030.00316.93
8.0.240.0070.00416.86
8.0.230.0040.00416.91
8.0.220.0060.00316.87
8.0.210.0000.00716.89
8.0.200.0000.00716.84
8.0.190.0040.00417.00
8.0.180.0050.00216.79
8.0.170.0040.00416.82
8.0.160.0030.00516.85
8.0.150.0070.00016.72
8.0.140.0050.00216.86
8.0.130.0000.00613.33
8.0.120.0040.00416.91
8.0.110.0000.00716.94
8.0.100.0000.00716.85
8.0.90.0040.00416.78
8.0.80.0120.00616.85
8.0.70.0040.00416.89
8.0.60.0040.00416.91
8.0.50.0000.00716.76
8.0.30.0160.00717.08
8.0.20.0120.00917.40
8.0.10.0000.00817.04
8.0.00.0030.01516.74
7.4.330.0000.00615.00
7.4.320.0030.00316.52
7.4.300.0030.00316.57
7.4.290.0040.00416.53
7.4.280.0030.00316.52
7.4.270.0030.00316.62
7.4.260.0050.00316.50
7.4.250.0000.00816.57
7.4.240.0080.00016.52
7.4.230.0030.00516.34
7.4.220.0070.01116.64
7.4.210.0040.01216.53
7.4.200.0030.00316.68
7.4.190.0030.00516.45
7.4.160.0130.00416.44
7.4.150.0110.00717.40
7.4.140.0100.00717.86
7.4.130.0090.01116.51
7.4.120.0110.00916.45
7.4.110.0110.00616.48
7.4.100.0130.00716.48
7.4.90.0100.00716.51
7.4.80.0060.01616.49
7.4.70.0140.00316.66
7.4.60.0060.01216.30
7.4.50.0000.00816.60
7.4.40.0030.00622.77
7.4.30.0030.01316.63
7.4.00.0040.01114.91
7.3.330.0000.00613.21
7.3.320.0000.00513.15
7.3.310.0000.00816.08
7.3.300.0000.00716.27
7.3.290.0130.00716.31
7.3.280.0080.00716.27
7.3.270.0090.01217.40
7.3.260.0120.01116.54
7.3.250.0080.01016.26
7.3.240.0150.00416.47
7.3.230.0090.00616.42
7.3.210.0070.01016.45
7.3.200.0110.00619.39
7.3.190.0060.01116.46
7.3.180.0030.01216.11
7.3.170.0090.00616.37
7.3.160.0060.01216.22
7.3.120.0030.01415.01
7.3.10.0030.01216.70
7.3.00.0040.00816.80
7.2.330.0140.01116.74
7.2.320.0110.00616.62
7.2.310.0030.01316.68
7.2.300.0180.00416.62
7.2.290.0100.00716.27
7.2.130.0110.00516.82
7.2.120.0070.01016.93
7.2.110.0030.01017.00
7.2.100.0000.01416.61
7.2.90.0030.00717.05
7.2.80.0070.00717.08
7.2.70.0090.00616.89
7.2.60.0000.01117.02
7.2.50.0040.01116.85
7.2.40.0000.01416.93
7.2.30.0030.01316.88
7.2.20.0080.00716.86
7.2.10.0040.00816.79
7.2.00.0090.00016.94
7.1.250.0070.00715.55
7.1.200.0000.01415.71
7.1.70.0070.00316.85
7.1.60.0150.01119.32
7.1.50.0100.01017.08
7.1.00.0000.08022.44
7.0.200.0100.00516.72
7.0.140.0030.07321.91
7.0.60.0200.07319.93
7.0.50.0000.04717.86
7.0.40.0070.04320.02
7.0.30.0230.06020.15
7.0.20.0270.05020.19
7.0.10.0430.07020.24
7.0.00.0000.06020.35
5.6.280.0000.07721.11
5.6.210.0070.03720.55
5.6.200.0070.08718.18
5.6.190.0030.06020.47
5.6.180.0030.04020.49
5.6.170.0230.08320.71
5.6.160.0070.05720.54
5.6.150.0070.03718.19
5.6.140.0070.08018.27
5.6.130.0100.07718.22
5.6.120.0030.04320.87
5.6.110.0030.04321.01
5.6.100.0270.06721.02
5.6.90.0030.04321.02
5.6.80.0030.04020.45
5.6.70.2830.03720.38
5.5.350.0070.06720.43
5.5.340.0030.06717.99
5.5.330.0070.08720.21
5.5.320.0000.08720.36
5.5.310.0370.04720.27
5.5.300.0030.08318.08
5.5.290.0070.07317.93
5.5.280.0170.08020.90
5.5.270.0170.06720.85
5.5.260.0130.07020.96
5.5.250.0100.08320.60
5.5.240.0000.07720.27
5.4.450.0230.08019.32
5.4.440.0230.05319.57
5.4.430.0170.05019.39
5.4.420.0170.06319.17
5.4.410.0230.06719.05
5.4.400.0200.08318.95
5.4.390.0300.07319.23
5.4.380.0200.05318.95
5.4.370.0230.06019.22
5.4.360.0200.06718.99
5.4.350.0230.05719.08
5.4.340.0300.04319.09
5.4.320.0230.07319.06
5.4.310.0230.07018.95
5.4.300.0230.03319.06
5.4.290.0170.04018.85
5.4.280.0230.05019.24
5.4.270.0170.06319.06
5.4.260.0170.05019.06
5.4.250.0270.06019.19
5.4.240.0230.07719.24
5.4.230.0270.06319.32
5.4.220.0230.07018.99
5.4.210.0230.05019.21
5.4.200.0170.06719.05
5.4.190.0270.07019.30
5.4.180.0200.03719.32
5.4.170.0230.06018.94
5.4.160.0300.03719.29
5.4.150.0330.04319.23
5.4.140.0200.05016.40
5.4.130.0200.07316.33
5.4.120.0270.03716.41
5.4.110.0400.03316.24
5.4.100.0300.03716.60
5.4.90.0300.04016.42
5.4.80.0330.05016.59
5.4.70.0200.04716.30
5.4.60.0300.03016.48
5.4.50.0300.07016.48
5.4.40.0230.04016.25
5.4.30.0270.04716.24
5.4.20.0330.06316.52
5.4.10.0230.04016.43
5.4.00.0330.05715.78
5.3.290.0270.06714.58
5.3.280.0270.06714.75
5.3.270.0300.06314.69
5.3.260.0230.07314.51
5.3.250.0300.06314.61
5.3.240.0300.07314.68
5.3.230.0330.06314.61
5.3.220.0300.07314.64
5.3.210.0370.03714.65
5.3.200.0270.06314.62
5.3.190.0300.07014.80
5.3.180.0300.06014.54
5.3.170.0230.05714.54
5.3.160.0270.07314.46
5.3.150.0330.06314.46
5.3.140.0300.06714.49
5.3.130.0330.05714.60
5.3.120.0270.04014.55
5.3.110.0230.06014.64
5.3.100.0200.07314.20
5.3.90.0330.05714.03
5.3.80.0230.05313.95
5.3.70.0270.04013.93
5.3.60.0330.06314.06
5.3.50.0270.05014.05
5.3.40.0430.05713.87
5.3.30.0230.04313.82
5.3.20.0230.03313.67
5.3.10.0270.06013.88
5.3.00.0230.05013.54
5.2.170.0200.03012.20
5.2.160.0230.05012.20
5.2.150.0300.04312.20
5.2.140.0200.03012.20
5.2.130.0270.04012.20
5.2.120.0300.05012.20
5.2.110.0270.04312.20
5.2.100.0200.04012.20
5.2.90.0230.05012.20
5.2.80.0300.05312.20
5.2.70.0200.04712.20
5.2.60.0200.04712.20
5.2.50.0300.05312.20
5.2.40.0270.03712.20
5.2.30.0230.05012.20
5.2.20.0170.03712.20
5.2.10.0300.04712.20
5.2.00.0200.05012.20
5.1.60.0200.05012.20
5.1.50.0230.03712.20
5.1.40.0200.05012.20
5.1.30.0130.04012.20
5.1.20.0170.02712.20
5.1.10.0200.02312.20
5.1.00.0170.02712.20
5.0.50.0100.02712.20
5.0.40.0030.02312.20
5.0.30.0070.03312.20
5.0.20.0070.02012.20
5.0.10.0070.02012.20
5.0.00.0030.03312.20
4.4.90.0100.03712.20
4.4.80.0100.03012.20
4.4.70.0070.02012.20
4.4.60.0070.02012.20
4.4.50.0070.02312.20
4.4.40.0100.05012.20
4.4.30.0100.02712.20
4.4.20.0100.01012.20
4.4.10.0070.03312.20
4.4.00.0030.03312.20
4.3.110.0070.01312.20
4.3.100.0070.01312.20
4.3.90.0030.01712.20
4.3.80.0100.02312.20
4.3.70.0030.01712.20
4.3.60.0070.01712.20
4.3.50.0070.01312.20
4.3.40.0030.02312.20
4.3.30.0030.02012.20
4.3.20.0030.01312.20
4.3.10.0030.01312.20
4.3.00.0030.01712.20

preferences:
71.31 ms | 401 KiB | 5 Q