3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __construct($foo) { } public function baz() {} } abstract class Bar extends Foo { public function __construct() { } abstract public function baz() {} } class Qux extends Bar { public function baz() {} } $b = new Qux; $b->baz();

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.210.0050.03912.40
5.4.200.0110.04312.38
5.4.190.0130.05312.38
5.4.180.0110.04112.38
5.4.170.0090.04312.39
5.4.160.0120.03912.39
5.4.150.0130.03812.38
5.4.140.0100.04212.06
5.4.130.0120.04212.06
5.4.120.0130.04112.01
5.4.110.0100.04012.01
5.4.100.0110.04212.01
5.4.90.0070.04312.01
5.4.80.0150.03612.01
5.4.70.0100.04112.00
5.4.60.0090.04112.00
5.4.50.0100.04112.00
5.4.40.0090.04311.99
5.4.30.0120.03811.99
5.4.20.0080.04211.99
5.4.10.0120.03911.99
5.4.00.0120.04611.48
5.3.270.0130.04712.72
5.3.260.0120.04712.72
5.3.250.0100.04312.72
5.3.240.0130.04412.72
5.3.230.0150.04512.70
5.3.220.0220.06412.68
5.3.210.0130.04412.68
5.3.200.0140.04612.68
5.3.190.0160.04312.68
5.3.180.0160.04212.67
5.3.170.0120.04112.67
5.3.160.0110.04112.67
5.3.150.0130.03912.67
5.3.140.0130.04112.66
5.3.130.0080.05312.66
5.3.120.0100.05112.66
5.3.110.0140.04012.66
5.3.100.0120.04312.12
5.3.90.0120.03912.09
5.3.80.0110.04312.08
5.3.70.0130.03912.09
5.3.60.0130.04712.07
5.3.50.0120.04512.02
5.3.40.0190.04112.02
5.3.30.0110.04111.98
5.3.20.0150.05611.76
5.3.10.0120.03911.72
5.3.00.0110.04711.71

preferences:
146.23 ms | 1394 KiB | 7 Q