3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Testable { public function test(); } abstract windows implements Testable { abstract function name(); } class window extends windows { public function name() { echo 'window'; } public function test() { echo $this->name() . '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.0140.04311.99
5.4.30.0180.04411.98
5.4.20.0250.05211.98
5.4.10.0170.04411.98
5.4.00.0170.04211.48
5.3.140.0210.04312.66
5.3.130.0180.04612.66
5.3.120.0210.04612.66
5.3.110.0170.04912.66
5.3.100.0170.04412.12
5.3.90.0180.04412.09
5.3.80.0270.05212.08
5.3.70.0220.04512.08
5.3.60.0190.04412.07
5.3.50.0200.04212.02
5.3.40.0180.04612.02
5.3.30.0130.04711.99
5.3.20.0160.04511.76
5.3.10.0200.03811.72
5.3.00.0190.04111.71

preferences:
146.05 ms | 1386 KiB | 7 Q