3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseController{ public function __call(string $Action, array $Data){ if (method_exists($this, $Action . "Action")) { } elseif (method_exists($this, "DefaultAction") and $this->DefaultAction($Action, $Data)) { exit; } } } class TestPage extends BaseController{ private function DefaultAction(string $Action, array $Data){ 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.0410.03048.60
8.3.30.0430.02648.47
8.3.20.0290.01049.93
8.3.10.0150.01851.52
8.3.00.0210.01749.79
8.2.170.0360.02348.45
8.2.160.0270.03450.00
8.2.150.0170.01748.35
8.2.140.0100.01350.27
8.2.130.0060.02247.68
8.2.120.0320.01147.10
8.2.110.0130.01350.18
8.2.100.0330.01747.25
8.2.90.0140.02148.80
8.2.80.0100.02947.00
8.2.70.0070.03247.13
8.2.60.0260.01347.43
8.2.50.0140.02447.13
8.2.40.0100.02448.92
8.2.30.0190.01950.22
8.2.20.0140.02547.11
8.2.10.0130.02347.64
8.2.00.0250.01247.61
8.1.270.0070.01451.91
8.1.260.0200.01349.94
8.1.250.0160.01651.72
8.1.240.0270.01350.46
8.1.230.0330.01346.98
8.1.220.0090.02247.41
8.1.210.0150.01946.85
8.1.200.0100.02346.97
8.1.190.0160.01946.75
8.1.180.0130.01647.15
8.1.170.0200.01748.09
8.1.160.0170.01451.69
8.1.150.0140.02148.41
8.1.140.0100.02146.97
8.1.130.0170.01747.36
8.1.120.0100.02046.89
8.1.110.0100.02147.05
8.1.100.0130.01646.98
8.1.90.0100.02046.98
8.1.80.0170.01746.91
8.1.70.0210.01047.00
8.1.60.0130.01947.17
8.1.50.0230.01346.96
8.1.40.0280.00947.05
8.1.30.0190.01347.14
8.1.20.0140.01747.03
8.1.10.0230.03380.93
8.1.00.0200.03380.88
8.0.300.0260.03380.01
8.0.290.0170.04480.13
8.0.280.0230.03981.66
8.0.270.0240.03480.58
8.0.260.0400.03780.50
8.0.250.0170.03780.10
8.0.240.0230.03080.07
8.0.230.0300.04980.08
8.0.220.0310.03480.07
8.0.210.0470.01780.07
8.0.200.0310.02479.98
8.0.190.0380.03180.06
8.0.180.0340.03479.99
8.0.170.0400.03080.14
8.0.160.0480.02080.09
8.0.150.0290.03279.98
8.0.140.0260.04079.93
8.0.130.0770.077136.42
8.0.120.0170.04180.07
8.0.110.0210.03480.20
8.0.100.0240.03880.04
8.0.90.0240.03479.91
8.0.80.0670.05379.98
8.0.70.0160.03979.88
8.0.60.0110.04280.04
8.0.50.0200.03479.86
8.0.30.0570.05980.25
8.0.20.0680.06880.34
8.0.10.0170.04080.01
8.0.00.0640.06779.83
7.4.330.0330.03076.44
7.4.320.0310.03879.64
7.4.300.0300.03479.53
7.4.290.0310.04179.72
7.4.280.0400.03379.71
7.4.270.0160.04279.71
7.4.260.0300.02679.62
7.4.250.0160.04679.73
7.4.240.0310.03179.54
7.4.230.0140.04579.79
7.4.220.0900.09779.61
7.4.210.0550.05879.66
7.4.200.0270.03479.80
7.4.160.0750.05179.53
7.4.150.0780.05579.55
7.4.140.0630.09679.65
7.4.130.0660.06879.67
7.4.120.0800.08479.77
7.4.110.1140.08079.61
7.4.100.0690.06579.79
7.4.90.0580.07179.83
7.4.80.0950.08579.79
7.4.70.0490.09179.68
7.4.60.0510.07879.69
7.4.50.0140.05179.83
7.4.40.0500.08379.39
7.4.30.0670.12579.55
7.4.00.0280.06378.14
7.3.330.0330.075136.30
7.3.320.0330.067136.32
7.3.310.0310.03179.47
7.3.300.0290.02979.38
7.3.290.0920.08879.33
7.3.280.0640.09479.34
7.3.270.0430.08979.57
7.3.260.0630.07079.43
7.3.250.0580.07379.43
7.3.240.0850.07979.80
7.3.230.0650.06279.27
7.3.210.0630.06679.29
7.3.200.0550.08979.64
7.3.190.0530.08079.44
7.3.180.0830.10279.52
7.3.170.0780.06279.43
7.3.160.0830.08779.51
7.3.120.0430.05977.87
7.3.110.0490.06678.02
7.3.100.0430.08777.71
7.3.90.0360.04678.02
7.3.80.0300.06177.78
7.3.70.0270.06577.69
7.3.60.0300.08677.74
7.3.50.0400.05377.73
7.3.40.0300.05377.97
7.3.30.0230.09577.66
7.3.20.0200.05978.53
7.3.10.0280.05878.43
7.3.00.0540.05678.45
7.2.330.0500.08679.81
7.2.320.0700.09779.71
7.2.310.0630.07979.79
7.2.300.0620.09879.52
7.2.290.0520.08079.65
7.2.250.0560.07678.21
7.2.240.0400.06777.98
7.2.230.0260.07077.96
7.2.220.0230.06378.30
7.2.210.0360.08977.68
7.2.200.0390.08578.18
7.2.190.0100.07478.11
7.2.180.0290.05577.83
7.2.170.0300.08078.05
7.2.160.0470.07477.93
7.2.150.0130.06578.71
7.2.140.0140.05078.81
7.2.130.0420.06378.54
7.2.120.0860.05278.60
7.2.110.0660.06478.70
7.2.100.0540.05178.71
7.2.90.0530.05978.79
7.2.80.0310.06478.85
7.2.70.0430.05478.80
7.2.60.1110.04878.74
7.2.50.0500.05178.60
7.2.40.0550.06578.86
7.2.30.0570.05278.76
7.2.20.0460.05378.78
7.2.10.0490.06178.86
7.2.00.3670.05479.59
7.1.330.0330.10077.57
7.1.320.0100.06277.80
7.1.310.0130.06377.54
7.1.300.0100.07177.68
7.1.290.0170.05377.68
7.1.280.0130.08277.57
7.1.270.0330.05677.62
7.1.260.0220.05177.68
7.1.250.0380.07777.60
7.1.240.0200.07577.75
7.1.230.0230.05577.67
7.1.220.0100.08577.41
7.1.210.0160.05977.75
7.1.200.1440.04977.52
7.1.190.0200.06677.41
7.1.180.0260.07377.72
7.1.170.0200.07177.46
7.1.160.0100.07077.55
7.1.150.0200.05477.65
7.1.140.0170.05477.82
7.1.130.0170.05777.66
7.1.120.1040.06477.46
7.1.110.0160.08577.72
7.1.100.0080.05378.82
7.1.90.0030.08877.74
7.1.80.0130.05677.37
7.1.70.0290.06078.26
7.1.60.0520.05978.41
7.1.50.0230.06778.26
7.1.40.0130.06377.80
7.1.30.0330.05277.68
7.1.20.0230.06977.78
7.1.10.0260.06277.64
7.1.00.0130.09380.78
7.0.330.0160.07277.36
7.0.320.0130.06777.16
7.0.310.0160.05677.39
7.0.300.0240.07177.30
7.0.290.0170.05877.13
7.0.280.0070.06377.35
7.0.270.0090.06377.31
7.0.260.0140.06177.39
7.0.250.0190.05877.27
7.0.240.1480.08277.60
7.0.230.0170.06477.10
7.0.220.0070.08177.48
7.0.210.0130.05677.30
7.0.200.3470.06177.98
7.0.190.0130.05977.36
7.0.180.0070.06477.16
7.0.170.0200.07777.36
7.0.160.0140.06177.48
7.0.150.0130.06177.52
7.0.140.0170.06077.47
7.0.130.0130.07277.53
7.0.120.0200.06377.51
7.0.110.0170.06477.43
7.0.100.0170.06377.44
7.0.90.0030.08177.46
7.0.80.0130.06677.14
7.0.70.0160.06577.31
7.0.60.0230.09280.28
7.0.50.0130.09179.44
7.0.40.0170.07316.80
7.0.30.0330.08316.85
7.0.20.0310.08316.81
7.0.10.0120.09316.88
7.0.00.0140.06816.80
5.6.400.0070.00714.35
5.6.390.0070.00414.01
5.6.380.0050.00314.29
5.6.370.0060.00614.42
5.6.360.0060.00614.20
5.6.350.0070.00714.47
5.6.340.0060.00614.47
5.6.330.0030.01014.37
5.6.320.0060.00914.29
5.6.310.0070.00414.13
5.6.300.0090.00614.29
5.6.290.0090.00614.11
5.6.280.0020.03617.63
5.6.270.0060.00614.60
5.6.260.0040.00814.20
5.6.250.0070.00414.31
5.6.240.0050.00314.20
5.6.230.0060.01114.20
5.6.220.0120.00014.54
5.6.210.0100.02917.33
5.6.200.0060.02916.13
5.6.190.0110.03517.38
5.6.180.0220.03017.39
5.6.170.0150.03317.21
5.6.160.0120.04017.38
5.6.150.0080.03016.37
5.6.140.0100.03716.20
5.6.130.0050.02216.13
5.6.120.0070.04417.46
5.6.110.0110.04117.58
5.6.100.0050.03017.73
5.6.90.0120.01817.53
5.6.80.0060.03617.19
5.6.70.0080.00414.43
5.6.60.0040.01614.16
5.6.50.0060.00814.32
5.6.40.0060.01314.28
5.6.30.0130.00614.15
5.6.20.0080.00914.05
5.6.10.0130.00314.13
5.6.00.0030.01514.07
5.5.380.0000.01214.27
5.5.370.0070.00414.06
5.5.360.0000.01514.24
5.5.350.1950.02217.37
5.5.340.0030.04615.98
5.5.330.0070.03617.33
5.5.320.0140.04417.44
5.5.310.0200.04317.29
5.5.300.0090.04215.96
5.5.290.0020.02715.99
5.5.280.0030.04817.43
5.5.270.0060.03117.36
5.5.260.0100.04017.49
5.5.250.0070.02517.21
5.5.240.0050.02517.20
5.5.230.0000.00914.14
5.5.220.0030.01014.17
5.5.210.0070.00713.89
5.5.200.0100.01014.25
5.5.190.0040.01514.25
5.5.180.0080.01214.29
5.5.170.0070.01414.00
5.5.160.0090.01114.28
5.5.150.0070.01313.95
5.5.140.0140.00713.79
5.5.130.0100.01014.01
5.5.120.0090.00614.02
5.5.110.0090.00914.16
5.5.100.0060.01714.30
5.5.90.0120.00814.01
5.5.80.0180.00313.93
5.5.70.0130.00814.07
5.5.60.0030.01213.97
5.5.50.0100.00614.23
5.5.40.0040.01113.91
5.5.30.0030.01013.50
5.5.20.0000.01313.88
5.5.10.0060.00814.05
5.5.00.0040.01214.02
5.4.450.0530.03515.10
5.4.440.0480.02515.29
5.4.430.0510.03015.17
5.4.420.0500.03115.09
5.4.410.0410.03115.21
5.4.400.0450.02515.10
5.4.390.0420.03014.85
5.4.380.0450.02515.04
5.4.370.0500.02514.96
5.4.360.0520.03215.17
5.4.350.0430.03114.89
5.4.340.0520.03914.96
5.4.330.0030.01010.85
5.4.320.0550.03214.96
5.4.310.0550.03015.04
5.4.300.0480.03415.00
5.4.290.0520.04014.97
5.4.280.0240.03514.96
5.4.270.0020.03214.96
5.4.260.0060.02814.89
5.4.250.0100.02715.15
5.4.240.0530.02515.06
5.4.230.0530.03114.84
5.4.220.0520.03514.96
5.4.210.0570.02814.89
5.4.200.0570.03215.02
5.4.190.0500.03115.14
5.4.180.0570.03215.13
5.4.170.0570.02715.01
5.4.160.0520.03215.04
5.4.150.0610.03314.96
5.4.140.0570.03013.67
5.4.130.0530.02613.72
5.4.120.0450.03513.72
5.4.110.0550.02613.76
5.4.100.0550.02713.67
5.4.90.0530.03513.80
5.4.80.0530.02813.78
5.4.70.0070.02713.71
5.4.60.0120.02813.69
5.4.50.0210.02913.71
5.4.40.0170.03813.71
5.4.30.0000.03513.65
5.4.20.0070.03513.81
5.4.10.0180.04013.63
5.4.00.0120.00310.95

preferences:
51.1 ms | 400 KiB | 5 Q