3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); abstract class Foo { abstract public function __construct(); } class Foo_Bar extends Foo { public function __construct($foo,$bar = null){} } $fooBar = new Foo_Bar('foo');

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.4.100.0270.06411.99
5.4.90.0180.04211.99
5.4.80.0200.05511.99
5.4.70.0160.04411.99
5.4.60.0220.06711.99
5.4.50.0170.04111.99
5.4.40.0210.05411.97
5.4.30.0240.06511.97
5.4.20.0210.04111.97
5.4.10.0160.04211.97
5.4.00.0170.04111.46
5.3.290.0050.04712.80
5.3.280.0070.03812.71
5.3.270.0140.04712.73
5.3.260.0130.04912.71
5.3.250.0120.04812.72
5.3.240.0130.05012.72
5.3.230.0140.04812.71
5.3.220.0170.04312.68
5.3.210.0160.04512.68
5.3.200.0160.04512.68
5.3.190.0180.04512.68
5.3.180.0220.04012.67
5.3.170.0230.05412.67
5.3.160.0170.04512.67
5.3.150.0270.06512.67
5.3.140.0200.04312.66
5.3.130.0200.05812.65
5.3.120.0160.04812.65
5.3.110.0200.04512.66
5.3.100.0230.04212.12
5.3.90.0220.07012.09
5.3.80.0160.04612.08
5.3.70.0160.04712.08
5.3.60.0320.07612.06
5.3.50.0170.04512.01
5.3.40.0150.04512.01
5.3.30.0260.06311.98
5.3.20.0270.06311.76
5.3.10.0300.06111.71
5.3.00.0190.05411.71

preferences:
138.93 ms | 1386 KiB | 7 Q