3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); abstract class A { 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.0130.03720.07
5.6.160.0070.07020.46
5.6.150.0170.07718.12
5.6.140.0070.05018.12
5.6.130.0030.04018.24
5.6.120.0100.05320.98
5.6.110.0100.05721.08
5.6.100.0000.04320.96
5.6.90.0100.08020.90
5.6.80.0100.07320.38
5.5.300.0130.04018.08
5.5.290.0070.05017.95
5.5.280.0100.05320.88
5.5.270.0130.05020.93
5.5.260.0070.09020.77
5.5.250.0100.07020.50
5.5.240.0300.05720.19

preferences:
147.19 ms | 1394 KiB | 7 Q