3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { private function __construct() { throw new Exception('thrown'); } public function A() { return array('a', 'b', 'c'); } public static function I() { return new A(); } } $A = new A::A;

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.0070.08018.25
5.6.140.0100.07718.21
5.6.130.0070.08318.19
5.6.120.0070.08320.97
5.6.110.0100.05720.98
5.6.100.0070.05721.02
5.6.90.0130.07721.00
5.6.80.0000.06020.52
5.5.300.0070.06718.03
5.5.290.0170.07318.08
5.5.280.0100.04020.81
5.5.270.0070.08720.96
5.5.260.0100.07320.88
5.5.250.0070.05020.59
5.5.240.0230.07720.05

preferences:
142.18 ms | 1394 KiB | 7 Q