3v4l.org

run code in 300+ PHP versions simultaneously
<?php class schade { public function __construct(){ anvadb::disconnect(); } } class odbcdb { public function __callStatic($method, $arguments) { $this->method($arguments) } public function disconnect() { self::test(); } public static function test() { echo 'odbc::test()'; } } class anvadb extends odbcdb { public static function test() { echo 'anvadb::test()'; } } new schade;

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.30.0150.04312.00
5.4.20.0270.06311.99
5.4.10.0140.04312.00
5.4.00.0310.05811.49
5.3.130.0210.05912.66
5.3.120.0200.05112.66
5.3.110.0160.04312.66
5.3.100.0130.04712.12
5.3.90.0180.04112.10
5.3.80.0230.05812.09
5.3.70.0180.04612.09
5.3.60.0200.05912.07
5.3.50.0180.04212.02
5.3.40.0270.05312.02
5.3.30.0140.04411.99
5.3.20.0220.06511.76
5.3.10.0190.05811.73
5.3.00.0170.04411.71

preferences:
142.43 ms | 1386 KiB | 7 Q