3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class main { function __construct() { } public function test() { } abstract function childmethod(); } class child extend main { function __construct() { } function childmethod() { return "test"; } } $main = new main(); $main->childmethod(); $main->test();

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.6.150.0030.04018.15
5.6.140.0030.08318.18
5.6.130.0100.08018.27
5.6.120.0030.07321.00
5.6.110.0130.07721.02
5.6.100.0130.07721.00
5.6.90.0070.08321.10
5.6.80.0070.04320.45
5.5.300.0100.07317.95
5.5.290.0000.06018.03
5.5.280.0100.06720.88
5.5.270.0030.05720.77
5.5.260.0100.07020.68
5.5.250.0000.05720.77
5.5.240.0300.05720.23

preferences:
140.37 ms | 1394 KiB | 7 Q