3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ThisAction extends Action { protected $action_type = 'testing'; private function testing_more_stuff() { echo "more stuff"; } private function testing_stuff() { echo "just some {$this->action_type} stuff\n"; } } abstract class Action implements Action_Interface { public function __construct() { $this->testing_stuff(); $this->testing_more_stuff(); } abstract function testing_more_stuff(); } interface Action_Interface { protected $action_type; function testing_stuff(); } $blah = new ThisAction;

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.1.70.0030.00916.76
7.1.60.0130.01335.18
7.1.50.0210.01034.73
7.1.40.0200.00734.29
7.1.30.0090.01834.24
7.1.20.0230.00334.42
7.1.10.0100.00716.40
7.1.00.0070.00716.43
7.0.200.0060.00616.58
7.0.190.0040.01516.25
7.0.180.0060.00616.04
7.0.170.0030.00916.25
7.0.160.0100.00616.25
7.0.150.0070.01016.09
7.0.140.0090.00316.17
7.0.130.0030.01016.44
7.0.120.0030.01016.27
7.0.110.0060.01016.14
7.0.100.0040.01116.06
7.0.90.0060.00916.16
7.0.80.0000.01416.16
7.0.70.0090.00616.11
7.0.60.0030.01115.75
7.0.50.0110.00316.26
7.0.40.0090.00316.14
7.0.30.0030.00916.54
7.0.20.0000.01216.07
7.0.10.0030.01016.27
7.0.00.0030.01016.19

preferences:
139.27 ms | 1386 KiB | 7 Q