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 $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)
5.4.280.0210.08012.38
5.4.270.0090.06112.38
5.4.260.0150.05412.38
5.4.250.0190.07912.38
5.4.240.0150.05812.38
5.4.230.0080.05512.37
5.4.220.0120.06412.37
5.4.210.0090.05212.37
5.4.200.0090.06012.37
5.4.190.0210.05412.36
5.4.180.0120.07312.36
5.4.170.0120.06012.38
5.4.160.0090.04812.37
5.4.150.0070.05412.37
5.4.140.0050.04312.05
5.4.130.0090.04712.04
5.4.120.0130.06212.00
5.4.110.0080.06111.99
5.4.100.0120.06012.00
5.4.90.0070.06312.00
5.4.80.0100.05812.00
5.4.70.0140.06711.99
5.4.60.0070.05711.99
5.4.50.0090.05911.99
5.4.40.0150.05711.98
5.4.30.0090.06111.97
5.4.20.0110.04811.97
5.4.10.0130.05211.98
5.4.00.0100.06311.47
5.3.280.0130.05812.71
5.3.270.0130.09612.72
5.3.260.0110.08712.72
5.3.250.0070.04912.72
5.3.240.0100.05112.72
5.3.230.0070.04112.71
5.3.220.0090.03812.68
5.3.210.0060.05612.68
5.3.200.0100.06012.68
5.3.190.0110.06312.68
5.3.180.0100.05412.67
5.3.170.0100.07312.67
5.3.160.0110.04712.67
5.3.150.0110.05412.67
5.3.140.0120.07212.66
5.3.130.0110.06112.65
5.3.120.0120.07312.66
5.3.110.0180.08112.66
5.3.100.0190.08012.12
5.3.90.0080.05712.08
5.3.80.0080.05412.07
5.3.70.0100.04512.07
5.3.60.0120.05512.07
5.3.50.0100.04512.00
5.3.40.0070.04912.00
5.3.30.0140.05411.96
5.3.20.0050.04411.74
5.3.10.0080.04011.71
5.3.00.0090.04111.69

preferences:
133.34 ms | 1394 KiB | 7 Q