3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseController{ public function __call(){ if (method_exists($this, "Action")) { } else if (method_exists($this, "DefaultAction")) { if ($this->DefaultAction()){ } exit; } } } class TestPage extends BaseController{ private function DefaultAction(){ return false; } } $testpage = new TestPage(); $testpage->Show();

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.140.0070.08018.18
5.6.130.0200.06718.24
5.6.120.0000.09721.02
5.6.110.0400.05321.09
5.6.100.0030.04021.03
5.6.90.0130.05721.02
5.6.80.0030.03720.37
5.6.70.0300.06720.48
5.5.300.0100.04717.95
5.5.290.0130.06318.00
5.5.280.0170.07720.87
5.5.270.0030.04020.84
5.5.260.0100.06320.86
5.5.250.0170.05020.46
5.5.240.0170.05020.26
5.4.450.0930.06019.59
5.4.440.0800.05019.20
5.4.430.0730.05319.38
5.4.420.0800.05319.55
5.4.410.0830.04719.32
5.4.400.0770.05019.15
5.4.390.0730.05719.15
5.4.380.0800.04719.26
5.4.370.0770.05019.01
5.4.360.0630.06319.32
5.4.350.0730.05318.88
5.4.340.0830.04719.16
5.4.320.0670.06019.29
5.4.310.0770.04719.11
5.4.300.0730.05719.21
5.4.290.0730.05018.98
5.4.280.0730.05319.26
5.4.270.0770.04719.15
5.4.260.0770.05319.27
5.4.250.0970.05319.14
5.4.240.0700.06719.26
5.4.230.0870.06718.86
5.4.220.1030.05019.25
5.4.210.0900.06319.27
5.4.200.1000.05719.03
5.4.190.0930.05719.37
5.4.180.1030.04319.25
5.4.170.0770.05018.86
5.4.160.0900.04719.12
5.4.150.0800.05319.36
5.4.140.0870.06716.31
5.4.130.0730.05016.43
5.4.120.0970.05016.56
5.4.110.0630.06016.63
5.4.100.0470.05316.42
5.4.90.0100.05016.60
5.4.80.0600.06716.40
5.4.70.0070.07016.44
5.4.60.0000.07716.54
5.4.50.0100.06316.57
5.4.40.0100.05316.52
5.4.30.0000.04716.22
5.4.20.0230.03316.42
5.4.10.0200.03316.38

preferences:
142.8 ms | 1394 KiB | 7 Q