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.0130.04512.00
5.4.30.0200.07012.00
5.4.20.0120.04912.00
5.4.10.0130.05012.00
5.4.00.0130.04911.50
5.3.140.0140.04712.66
5.3.130.0140.05112.66
5.3.120.0210.07312.66
5.3.110.0100.05512.66
5.3.100.0110.05012.12
5.3.90.0110.04912.10
5.3.80.0120.04712.09
5.3.70.0140.04712.09
5.3.60.0160.05912.07
5.3.50.0140.04712.02
5.3.40.0120.04812.02
5.3.30.0110.04911.98
5.3.20.0140.04511.76
5.3.10.0220.06711.73
5.3.00.0120.04911.71

preferences:
137.8 ms | 1394 KiB | 7 Q