3v4l.org

run code in 300+ PHP versions simultaneously
<?php class NotFinal { protected function hello(boolean $bool = true) { echo 'hello'; } } final class ThisIsFinal() extends NotFinal{ public function hello(array $witharg) { return parent::hello(); } } $class = new ThisIsFinal(); $class->hello();

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.6.150.0100.07718.20
5.6.140.0130.07718.16
5.6.130.0130.03318.18
5.6.120.0100.08021.14
5.6.110.0070.08720.99
5.6.100.0070.08721.11
5.6.90.0100.08021.00
5.6.80.0070.06020.29
5.5.300.0070.06017.95
5.5.290.0100.08317.98
5.5.280.0100.05720.88
5.5.270.0100.05720.77
5.5.260.0170.07320.73
5.5.250.0100.07720.55
5.5.240.0230.07720.18

preferences:
141.4 ms | 1394 KiB | 7 Q