3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseController{ public function __call($a,$b){ 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)
8.3.40.0230.04744.74
8.3.30.0470.03744.76
8.3.20.0230.01346.37
8.3.10.0100.03047.73
8.3.00.0170.02446.16
8.2.170.0360.05244.84
8.2.160.0230.04648.25
8.2.150.0240.01444.68
8.2.140.0130.02248.02
8.2.130.0170.02044.43
8.2.120.0100.03043.63
8.2.110.0140.02848.05
8.2.100.0390.01943.63
8.2.90.0130.03345.07
8.2.80.0070.03843.38
8.2.70.0160.03543.63
8.2.60.0180.02844.04
8.2.50.0070.04043.50
8.2.40.0190.02245.45
8.2.30.0170.02646.95
8.2.20.0160.02943.41
8.2.10.0070.04043.98
8.2.00.0070.03743.97
8.1.270.0100.04251.46
8.1.260.0120.02546.40
8.1.250.0270.01048.20
8.1.240.0130.02948.62
8.1.230.0170.03843.54
8.1.220.0190.02543.55
8.1.210.0100.03543.23
8.1.200.0070.03943.22
8.1.190.0160.03343.10
8.1.180.0070.03643.28
8.1.170.0130.03344.52
8.1.160.0130.03147.86
8.1.150.0100.03344.73
8.1.140.0100.03643.21
8.1.130.0030.04043.51
8.1.120.0070.03843.25
8.1.110.0030.04143.31
8.1.100.0110.03543.30
8.1.90.0100.03343.35
8.1.80.0100.03443.18
8.1.70.0170.02743.34
8.1.60.0130.03243.40
8.1.50.0130.03043.34
8.1.40.0070.03843.32
8.1.30.0070.03743.44
8.1.20.0100.03343.49
8.1.10.0200.06473.19
8.1.00.0290.05573.09
8.0.300.0300.05772.66
8.0.290.0230.06072.36
8.0.280.0370.04773.89
8.0.270.0130.09072.80
8.0.260.0270.07472.79
8.0.250.0270.05672.46
8.0.240.0300.05172.39
8.0.230.0230.06172.55
8.0.220.0370.06872.36
8.0.210.0170.06772.28
8.0.200.0170.06672.55
8.0.190.0230.06572.49
8.0.180.0360.07872.35
8.0.170.0200.06672.41
8.0.160.0230.06072.37
8.0.150.0300.05672.34
8.0.140.0230.06272.31
8.0.130.0530.099121.57
8.0.120.0200.06872.28
8.0.110.0230.06072.36
8.0.100.0200.06472.24
8.0.90.0230.06472.24
8.0.80.0640.10372.36
8.0.70.0130.07472.22
8.0.60.0200.06172.21
8.0.50.0270.06072.32
8.0.30.0580.11372.72
8.0.20.0610.11372.54
8.0.10.0230.06072.66
8.0.00.0570.11572.36
7.4.330.0360.05771.43
7.4.320.0170.06372.10
7.4.300.0140.06872.18
7.4.290.0260.05972.06
7.4.280.0310.09472.02
7.4.270.0370.04772.18
7.4.260.0130.07072.08
7.4.250.0270.05772.04
7.4.240.0300.05472.12
7.4.230.0100.07071.84
7.4.220.0570.20672.15
7.4.210.0500.12072.04
7.4.200.0200.06172.11
7.4.160.0390.12071.93
7.4.150.0730.10972.09
7.4.140.0630.13072.12
7.4.130.0650.10172.13
7.4.120.0590.11672.16
7.4.110.0610.10172.18
7.4.100.0830.12372.03
7.4.90.0760.13372.08
7.4.80.0560.13372.20
7.4.70.0520.12572.17
7.4.60.0460.10972.02
7.4.50.0170.04872.12
7.4.40.0810.11271.82
7.4.30.0690.12072.04
7.4.00.0270.08070.55
7.3.330.0560.102121.46
7.3.320.0430.102121.54
7.3.310.0210.06271.64
7.3.300.0330.05671.75
7.3.290.0550.10371.78
7.3.280.0600.13771.77
7.3.270.0660.11271.87
7.3.260.0600.11271.89
7.3.250.0650.09471.87
7.3.240.0710.14771.77
7.3.230.0770.08271.76
7.3.210.0670.09671.89
7.3.200.0790.16971.86
7.3.190.0730.13372.02
7.3.180.0620.09871.90
7.3.170.0700.16471.94
7.3.160.0600.13372.05
7.2.330.0590.10580.26
7.2.320.0670.09680.23
7.2.310.0710.09380.25
7.2.300.0690.12580.13
7.2.290.0780.09480.26
7.2.60.4240.05078.68
7.2.00.2080.07080.71
7.1.200.3210.05977.39
7.1.100.0030.08280.13
7.1.70.2140.08779.22
7.1.60.1070.06879.28
7.1.50.0800.07779.06
7.1.00.0070.16084.19
7.0.201.5220.07678.40
7.0.100.0570.15383.57
7.0.90.0530.14383.59
7.0.80.0700.14083.59
7.0.70.0530.15783.62
7.0.60.0530.19083.63
7.0.50.0470.15783.93
7.0.40.0270.15320.04
7.0.30.0330.14020.10
7.0.20.0300.15320.05
7.0.10.0230.14720.11
7.0.00.0230.16020.04
5.6.280.0030.07035.74
5.6.250.0130.08335.48
5.6.240.0100.10035.27
5.6.230.0070.08735.38
5.6.220.0170.05735.36
5.6.210.0070.09035.14
5.6.200.0130.07735.65
5.6.190.0300.07735.71
5.6.180.0200.09035.78
5.6.170.0200.08335.70
5.6.160.0130.08335.79
5.6.150.0100.05035.76
5.6.140.0170.07335.64
5.6.130.0100.06335.68
5.6.120.0200.08035.77
5.6.110.0130.09035.68
5.6.100.0270.08335.57
5.6.90.0170.09335.57
5.6.80.0130.09035.09
5.6.70.0100.07734.98
5.6.60.0170.05035.04
5.6.50.0100.06735.05
5.6.40.0130.08335.02
5.6.30.0100.09035.12
5.6.20.0270.08035.18
5.6.10.0200.04735.03
5.6.00.0200.08335.04
5.5.380.0300.03335.21
5.5.370.0170.08735.21
5.5.360.0030.06035.14
5.5.350.0170.04735.07
5.5.340.0200.08035.42
5.5.330.0200.09035.53
5.5.320.0130.09735.60
5.5.310.0100.10735.46
5.5.300.0130.05035.46
5.5.290.0170.08735.48
5.5.280.0200.09035.55
5.5.270.0130.10035.44
5.5.260.0170.09335.48
5.5.250.0100.05735.38
5.5.240.0100.08334.98
5.5.230.0130.08334.96
5.5.220.0170.08734.95
5.5.210.0100.04734.71
5.5.200.0200.08334.81
5.5.190.0100.06034.86
5.5.180.0070.09734.81
5.5.160.0100.09034.83
5.5.150.0100.07034.77
5.5.140.0170.09034.84
5.5.130.0200.07734.68
5.5.120.0170.08734.84
5.5.110.0070.07334.82
5.5.100.0270.06334.74
5.5.90.0200.08034.75
5.5.80.0100.06034.79
5.5.70.0170.05334.83
5.5.60.0200.08034.77
5.5.50.0270.08334.83
5.5.40.0200.08734.84
5.5.30.0130.08034.64
5.5.20.0230.08334.82
5.5.10.0130.08334.72
5.5.00.0200.07734.73
5.4.450.0170.08334.29
5.4.440.0100.09734.03
5.4.430.0100.07334.16
5.4.420.0170.08734.16
5.4.410.0100.07034.25
5.4.400.0130.08333.74
5.4.390.0070.06333.71
5.4.380.0170.04333.75
5.4.370.0100.08033.95
5.4.360.0200.04733.80
5.4.350.0200.06033.84
5.4.340.0270.06333.96
5.4.320.0200.08733.91
5.4.310.0200.08333.87
5.4.300.0170.08033.86
5.4.290.0170.06333.88
5.4.280.0100.09033.73
5.4.270.0170.08033.84
5.4.260.0130.08733.95
5.4.250.0170.08733.90
5.4.240.0230.07333.87
5.4.230.0130.08333.96
5.4.220.0170.09334.05
5.4.210.0200.06733.79
5.4.200.0230.06333.70
5.4.190.0170.08334.05
5.4.180.0170.08033.73
5.4.170.0170.07733.86
5.4.160.0170.08034.07
5.4.150.0170.05333.92
5.4.140.0130.07331.14
5.4.130.0200.07330.93
5.4.120.0230.07030.89
5.4.110.0030.06031.35
5.4.100.0130.07031.34
5.4.90.0070.08331.21
5.4.80.0100.09031.18
5.4.70.0270.06731.38
5.4.60.0270.07331.34
5.4.50.0230.07331.25
5.4.40.0070.06031.37
5.4.30.0170.07731.33
5.4.20.0070.07731.14
5.4.10.0030.09731.32
5.4.00.0100.08730.51
5.3.290.0170.05030.30
5.3.280.0230.08730.02
5.3.270.0270.07029.93
5.3.260.0170.08729.86
5.3.250.0170.09029.80
5.3.240.0230.08029.86
5.3.230.0100.09329.89
5.3.220.0170.08329.70
5.3.210.0170.08729.70
5.3.200.0200.07729.77
5.3.190.0200.07729.70
5.3.180.0100.09029.64
5.3.170.0100.08729.73
5.3.160.0130.09329.74
5.3.150.0230.08729.86
5.3.140.0230.07029.65
5.3.130.0130.08729.80
5.3.120.0200.06329.69
5.3.110.0170.08729.74
5.3.100.0230.08029.23
5.3.90.0170.07729.34
5.3.80.0130.08029.12
5.3.70.0100.08329.06
5.3.60.0170.07729.10
5.3.50.0170.08029.00
5.3.40.0100.08329.01
5.3.30.0170.06328.89
5.3.20.0230.07028.72
5.3.10.0200.06728.68
5.3.00.0170.08728.89
5.2.170.0170.07024.70
5.2.160.0200.06324.70
5.2.150.0130.07324.41
5.2.140.0230.06324.48
5.2.130.0100.06024.41
5.2.120.0030.08324.41
5.2.110.0100.06024.51
5.2.100.0170.06724.61
5.2.90.0130.06324.49
5.2.80.0100.06015.57
5.2.70.0070.04715.57
5.2.60.0070.06015.57
5.2.50.0000.06715.57
5.2.40.0070.06015.57
5.2.30.0100.05315.57
5.2.20.0070.05715.57
5.2.10.0070.05715.57
5.2.00.0000.06315.57
5.1.60.0000.06015.57
5.1.50.0100.05315.57
5.1.40.0130.04315.57
5.1.30.0100.05715.57
5.1.20.0030.05315.57
5.1.10.0000.06015.57
5.1.00.0030.05715.57
5.0.50.0100.04015.57
5.0.40.0000.04315.57
5.0.30.0030.06315.57
5.0.20.0030.04015.57
5.0.10.0030.04315.57
5.0.00.0100.04015.57
4.4.90.0030.02715.57
4.4.80.0030.03315.57
4.4.70.0000.03715.57
4.4.60.0030.03715.57
4.4.50.0000.03015.57
4.4.40.0070.05015.57
4.4.30.0070.03315.57
4.4.20.0030.03015.57
4.4.10.0070.03015.57
4.4.00.0030.05015.57
4.3.110.0000.03315.57
4.3.100.0030.03715.57
4.3.90.0000.03015.57
4.3.80.0070.04015.57
4.3.70.0030.03315.57
4.3.60.0030.03015.57
4.3.50.0070.02715.57
4.3.40.0070.04715.57
4.3.30.0030.03015.57
4.3.20.0000.03015.57
4.3.10.0070.03315.57
4.3.00.0000.03315.57

preferences:
51.61 ms | 400 KiB | 5 Q