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(); } } var_dump(A::A())[1]

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.04718.19
5.6.140.0100.07318.15
5.6.130.0070.09018.21
5.6.120.0070.04320.99
5.6.110.0070.07720.97
5.6.100.0030.04020.99
5.6.90.0100.03720.99
5.6.80.0100.05720.43
5.5.300.0070.04717.94
5.5.290.0070.04018.01
5.5.280.0070.06720.88
5.5.270.0030.07020.67
5.5.260.0170.07020.77
5.5.250.0030.04720.70
5.5.240.0200.04320.27

preferences:
144.68 ms | 1394 KiB | 7 Q