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.0270.03316.43
5.4.30.0230.03016.42
5.4.20.0230.04316.53
5.4.10.0270.06316.42
5.4.00.0230.04315.94
5.3.140.0230.05714.78
5.3.130.0130.04314.63
5.3.120.0170.03714.54
5.3.110.0270.02714.77
5.3.100.0100.04013.94
5.3.90.0100.04714.07
5.3.80.0100.04313.99
5.3.70.0170.04714.04
5.3.60.0230.05314.23
5.3.50.0130.03713.86
5.3.40.0230.02714.00
5.3.30.0130.05013.91
5.3.20.0100.04013.70
5.3.10.0230.02713.66
5.3.00.0100.04013.64

preferences:
175.13 ms | 1398 KiB | 7 Q