3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function f() { return 'foo'; } public static function __callStatic($method, $args) { return call_user_func_array([(new static), $method)], $args); } } C::f();

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.240.0100.04312.38
5.4.230.0050.05412.38
5.4.220.0110.05612.37
5.4.210.0070.05412.38
5.4.200.0090.04512.37
5.4.190.0190.06312.37
5.4.180.0140.04912.37
5.4.170.0150.06512.38
5.4.160.0090.04212.37
5.4.150.0050.04612.37
5.4.140.0130.05412.06
5.4.130.0090.05212.04
5.4.120.0100.04512.01
5.4.110.0320.06612.00
5.4.100.0090.04312.00
5.4.90.0100.04712.00
5.4.80.0070.04712.00
5.4.70.0200.05611.99
5.4.60.0130.05112.00
5.4.50.0140.05712.00
5.4.40.0070.04911.98
5.4.30.0040.05411.98
5.4.20.0070.04711.98
5.4.10.0130.04611.98
5.4.00.0050.05011.47
5.3.280.0120.05612.71
5.3.270.0090.04712.72
5.3.260.0110.04212.72
5.3.250.0080.04912.72
5.3.240.0110.05412.72
5.3.230.0080.04712.71
5.3.220.0100.04312.68
5.3.210.0100.05012.68
5.3.200.0090.04612.68
5.3.190.0140.04412.68
5.3.180.0090.05212.67
5.3.170.0140.05312.67
5.3.160.0070.04512.67
5.3.150.0100.04112.67
5.3.140.0090.04312.66
5.3.130.0080.05112.65
5.3.120.0080.05212.66
5.3.110.0100.04612.66
5.3.100.0090.05112.12
5.3.90.0070.04712.08
5.3.80.0100.04912.07
5.3.70.0060.04712.07
5.3.60.0090.04612.06
5.3.50.0120.04412.00
5.3.40.0110.04512.00
5.3.30.0120.04311.96
5.3.20.0070.04311.74
5.3.10.0110.04711.70
5.3.00.0100.06311.69

preferences:
137.01 ms | 941 KiB | 8 Q