3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Testable { public function test() {} } class window implements Testable { public funcion test() { echo 'window.test'; } } class home { public static function add(Testable $item) { $item->test(); } } $window = new window(); home::add($window)

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.40.0000.04316.27
5.4.30.0030.03716.43
5.4.20.0100.06716.64
5.4.10.0070.06716.46
5.4.00.0100.06715.82
5.3.140.0100.07014.56
5.3.130.0030.08314.68
5.3.120.0000.05014.46
5.3.110.0030.04314.59
5.3.100.0030.07714.03
5.3.90.0000.05713.90
5.3.80.0070.04713.98
5.3.70.0100.07014.09
5.3.60.0070.05314.14
5.3.50.0070.04713.82
5.3.40.0070.05314.09
5.3.30.0100.06014.05
5.3.20.0030.07013.75
5.3.10.0130.04313.61
5.3.00.0000.07713.69

preferences:
143.29 ms | 1394 KiB | 7 Q