3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); abstract class A { abstract public function __construct(array $a, array $cv); } class B extends A { public function __construct(stdClass $b) {} } new B(new stdClass);

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)
7.0.00.0100.06720.19
5.6.160.0070.06720.54
5.6.150.0030.04318.23
5.6.140.0100.07718.15
5.6.130.0030.04018.21
5.6.120.0100.04321.15
5.6.110.0100.08020.99
5.6.100.0070.05021.02
5.6.90.0070.08320.98
5.6.80.0100.06320.51
5.5.300.0000.05317.96
5.5.290.0070.07017.96
5.5.280.0030.08020.69
5.5.270.0170.07020.68
5.5.260.0070.06020.73
5.5.250.0070.06320.69
5.5.240.0200.06720.04

preferences:
129.92 ms | 1394 KiB | 7 Q