3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { function __call($name, $args){ echo "__call " . $name . PHP_EOL; } public static function __callStatic($name, $args) { echo "__callStatic " . $name . PHP_EOL; } public function make_call() { $this:ted(); } } $x = new foo(); $x->make_call() foo::sam();

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.80.0160.06812.03
5.4.70.0180.06112.02
5.4.60.0120.06212.02
5.4.50.0150.06612.02
5.4.40.0120.05912.01
5.4.30.0160.05712.01
5.4.20.0110.06112.01
5.4.10.0120.06112.01
5.4.00.0140.05711.50
5.3.180.0140.05212.67
5.3.170.0110.04612.67
5.3.160.0160.06412.68
5.3.150.0150.06112.67
5.3.140.0120.06312.66
5.3.130.0120.06812.66
5.3.120.0160.06212.66
5.3.110.0090.06812.66
5.3.100.0090.05012.13
5.3.90.0090.04612.11
5.3.80.0210.07612.09
5.3.70.0160.06712.09
5.3.60.0140.05712.08
5.3.50.0190.06712.03
5.3.40.0150.06212.02
5.3.30.0200.05911.99
5.3.20.0110.04811.77
5.3.10.0100.05011.73
5.3.00.0120.04511.71

preferences:
142.67 ms | 1394 KiB | 7 Q