3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class foo { public function zzz() {} abstract protected static function bar(); abstract protected static function baz(); public function ggg() {} /* Strict Standards: Static function foo::bar() should not be abstract in filename on line n */ } class boo extends foo { protected static function bar() {} } $b = new boo;

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.0030.05320.15
5.6.160.0030.08720.39
5.6.150.0070.08318.16
5.6.140.0030.04018.16
5.6.130.0170.05018.19
5.6.120.0100.08021.05
5.6.110.0100.07021.00
5.6.100.0130.07320.89
5.6.90.0070.08320.85
5.6.80.0130.07320.51
5.5.300.0070.08017.94
5.5.290.0100.07717.95
5.5.280.0070.08720.97
5.5.270.0100.07720.76
5.5.260.0130.07720.75
5.5.250.0070.08020.78
5.5.240.0230.05320.19

preferences:
141.11 ms | 1394 KiB | 7 Q