3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseController{ public function __call($Action, array $Data){ if (method_exists($this, $Action . "Action")) { } elseif (method_exists($this, "DefaultAction") and $this->DefaultAction($Action, $Data)) { exit; } } } class TestPage extends BaseController{ protected function DefaultAction($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.60.0110.00418.31
8.3.50.0170.00521.28
8.3.40.0040.01118.67
8.3.30.0040.01118.68
8.3.20.0000.00720.21
8.3.10.0030.00521.75
8.3.00.0000.00822.09
8.2.180.0180.00716.38
8.2.170.0100.01022.96
8.2.160.0110.00721.94
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0090.00017.63
8.2.110.0140.00320.52
8.2.100.0080.00417.78
8.2.90.0000.00720.60
8.2.80.0030.00518.05
8.2.70.0080.00018.04
8.2.60.0000.00718.16
8.2.50.0050.00318.10
8.2.40.0030.00519.23
8.2.30.0060.00319.14
8.2.20.0000.00817.55
8.2.10.0000.00817.98
8.2.00.0040.00418.04
8.1.280.0080.00825.92
8.1.270.0080.00023.96
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00723.78
8.1.230.0080.00420.97
8.1.220.0080.00017.74
8.1.210.0100.00018.77
8.1.200.0060.00317.36
8.1.190.0090.00016.98
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0050.00318.84
8.1.150.0040.00418.80
8.1.140.0030.00517.46
8.1.130.0030.00517.71
8.1.120.0030.00417.52
8.1.110.0040.00417.44
8.1.100.0080.00017.48
8.1.90.0000.00717.39
8.1.80.0050.00317.49
8.1.70.0000.00717.33
8.1.60.0040.00417.54
8.1.50.0080.00017.44
8.1.40.0060.00317.57
8.1.30.0090.00017.66
8.1.20.0040.00417.66
8.1.10.0040.00417.57
8.1.00.0000.00817.50
8.0.300.0000.00720.00
8.0.290.0000.00816.75
8.0.280.0000.00718.51
8.0.270.0040.00417.30
8.0.260.0030.00317.25
8.0.250.0050.00216.96
8.0.240.0000.00616.95
8.0.230.0050.00316.85
8.0.220.0070.00016.81
8.0.210.0040.00416.87
8.0.200.0000.00716.92
8.0.190.0000.00816.85
8.0.180.0030.00716.91
8.0.170.0070.00316.90
8.0.160.0000.00716.96
8.0.150.0030.00316.84
8.0.140.0000.00716.81
8.0.130.0030.00313.27
8.0.120.0000.00816.90
8.0.110.0060.00316.90
8.0.100.0040.00416.84
8.0.90.0050.00216.91
8.0.80.0100.01016.89
8.0.70.0000.00716.91
8.0.60.0040.00416.68
8.0.50.0000.00716.89
8.0.30.0120.00517.30
8.0.20.0120.00917.40
8.0.10.0000.00716.87
8.0.00.0100.00816.82
7.4.330.0030.00315.12
7.4.320.0040.00416.61
7.4.300.0030.00316.36
7.4.290.0070.00016.55
7.4.280.0030.00716.59
7.4.270.0030.00316.41
7.4.260.0040.00416.51
7.4.250.0000.00716.48
7.4.240.0020.00516.56
7.4.230.0000.00716.58
7.4.220.0110.00716.71
7.4.210.0120.00916.47
7.4.200.0030.00316.56
7.4.160.0120.00916.49
7.4.150.0070.01117.40
7.4.140.0120.00917.86
7.4.130.0080.01016.53
7.4.120.0100.00816.54
7.4.110.0090.00916.62
7.4.100.0100.01316.43
7.4.90.0130.00416.32
7.4.80.0130.00719.39
7.4.70.0060.01016.63
7.4.60.0110.01116.49
7.4.50.0000.00416.36
7.4.40.0000.01716.33
7.4.30.0090.01216.50
7.4.00.0070.00815.01
7.3.330.0020.00213.21
7.3.320.0000.00513.20
7.3.310.0000.00716.25
7.3.300.0000.00616.13
7.3.290.0090.00816.26
7.3.280.0080.00816.22
7.3.270.0130.00317.40
7.3.260.0160.00816.48
7.3.250.0070.01016.43
7.3.240.0090.01616.29
7.3.230.0100.01016.39
7.3.210.0060.01116.53
7.3.200.0100.00716.19
7.3.190.0040.01116.39
7.3.180.0030.01316.34
7.3.170.0060.01216.56
7.3.160.0030.01616.45
7.3.120.0040.01214.56
7.3.110.0080.00914.77
7.3.100.0100.00714.76
7.3.90.0050.00914.78
7.3.80.0100.00514.96
7.3.70.0020.01014.70
7.3.60.0070.00614.78
7.3.50.0090.00614.70
7.3.40.0070.00514.68
7.3.30.0050.00714.73
7.3.20.0060.00916.51
7.3.10.0090.00316.47
7.3.00.0040.01116.52
7.2.330.0140.00316.73
7.2.320.0060.01216.71
7.2.310.0120.00316.46
7.2.300.0110.00816.77
7.2.290.0070.01116.59
7.2.250.0090.00915.11
7.2.240.0080.01015.06
7.2.230.0030.01315.19
7.2.220.0070.00915.06
7.2.210.0100.00315.17
7.2.200.0040.00814.84
7.2.190.0080.00714.89
7.2.180.0030.00815.13
7.2.170.0060.00714.92
7.2.160.0130.00014.89
7.2.150.0140.00316.68
7.2.140.0060.00916.63
7.2.130.0090.00016.75
7.2.120.0030.00616.78
7.2.110.0030.00616.96
7.2.100.0000.01217.04
7.2.90.0070.00416.92
7.2.80.0050.00516.93
7.2.70.0060.01216.70
7.2.60.0020.01616.77
7.2.50.0040.01816.68
7.2.40.0090.00616.84
7.2.30.0040.01416.79
7.2.20.0070.00316.98
7.2.10.0030.01216.75
7.2.00.0090.00616.71
7.1.330.0040.01015.87
7.1.320.0060.01015.71
7.1.310.0070.00815.95
7.1.300.0060.00715.85
7.1.290.0090.00315.71
7.1.280.0040.00815.62
7.1.270.0050.00915.63
7.1.260.0060.00815.68
7.1.250.0100.00315.84
7.1.240.0030.00615.69
7.1.230.0030.00615.87
7.1.220.0100.00015.65
7.1.210.0030.01015.55
7.1.200.0060.00615.80
7.1.190.0050.00515.72
7.1.180.0060.00615.83
7.1.170.0070.00815.76
7.1.160.0060.00815.83
7.1.150.0080.00815.71
7.1.140.0040.01115.84
7.1.130.0120.00315.75
7.1.120.0050.00515.78
7.1.110.0030.00915.85
7.1.100.0030.00915.87
7.1.90.0070.01015.72
7.1.80.0000.01515.71
7.1.70.0060.00516.46
7.1.60.0050.01417.45
7.1.50.0080.01116.20
7.1.40.0090.00915.53
7.1.30.0080.00415.57
7.1.20.0030.00615.89
7.1.10.0030.01015.79
7.1.00.0020.04419.11
7.0.330.0000.01315.40
7.0.320.0030.00615.56
7.0.310.0040.01115.55
7.0.300.0030.00615.32
7.0.290.0100.00715.56
7.0.280.0040.00815.48
7.0.270.0040.00815.36
7.0.260.0090.00615.29
7.0.250.0070.01015.57
7.0.240.0070.01015.53
7.0.230.0040.00815.38
7.0.220.0030.01015.57
7.0.210.0090.00315.58
7.0.200.0040.00516.13
7.0.190.0000.01515.36
7.0.180.0120.00615.45
7.0.170.0060.00315.55
7.0.160.0000.01215.15
7.0.150.0070.00715.44
7.0.140.0090.00915.11
7.0.130.0000.00815.50
7.0.120.0080.00815.42
7.0.110.0030.00715.59
7.0.100.0000.00915.34
7.0.90.0030.00815.37
7.0.80.0130.00315.34
7.0.70.0130.00015.34
7.0.60.0060.04117.69
7.0.50.0110.02016.80
7.0.40.0100.03116.86
7.0.30.0200.04416.73
7.0.20.0180.02316.81
7.0.10.0080.03316.77
7.0.00.0050.03816.85
5.6.400.0030.00614.50
5.6.390.0040.01114.36
5.6.380.0030.00614.23
5.6.370.0000.00814.39
5.6.360.0060.00314.28
5.6.350.0110.00314.32
5.6.340.0060.00314.30
5.6.330.0000.01014.56
5.6.320.0060.00614.24
5.6.310.0100.00313.89
5.6.300.0090.00614.39
5.6.290.0090.00914.44
5.6.280.0030.03617.61
5.6.270.0100.00314.63
5.6.260.0000.01014.46
5.6.250.0090.00314.46
5.6.240.0070.00714.20
5.6.230.0000.01314.36
5.6.220.0030.00614.56
5.6.210.0040.03917.44
5.6.200.0100.02416.29
5.6.190.0110.04717.53
5.6.180.0200.04017.49
5.6.170.0080.05417.40
5.6.160.0050.02917.33
5.6.150.0120.04016.41
5.6.140.0050.04716.10
5.6.130.0080.03216.20
5.6.120.0070.04717.61
5.6.110.0050.04417.63
5.6.100.0080.04017.61
5.6.90.0050.02517.66
5.6.80.0030.03817.27
5.6.70.0090.00914.27
5.6.60.0030.01013.99
5.6.50.0080.00414.55
5.6.40.0090.00614.01
5.6.30.0080.00414.27
5.6.20.0080.00414.00
5.6.10.0070.00314.22
5.6.00.0070.00714.51
5.5.380.0070.00414.36
5.5.370.0070.00714.50
5.5.360.0000.00914.34
5.5.350.0020.04717.41
5.5.340.0140.03516.12
5.5.330.0060.04317.31
5.5.320.0220.04717.21
5.5.310.0120.02517.33
5.5.300.0050.02216.00
5.5.290.0090.02316.32
5.5.280.0050.03517.52
5.5.270.0050.04417.48
5.5.260.0050.04017.57
5.5.250.0070.02317.45
5.5.240.0140.03817.20
5.5.230.0040.00814.13
5.5.220.0090.00614.04
5.5.210.0000.01013.91
5.5.200.0000.01513.95
5.5.190.0040.01114.05
5.5.180.0070.00714.08
5.5.170.0040.01114.07
5.5.160.0000.01514.26
5.5.150.0120.00313.70
5.5.140.0090.00614.26
5.5.130.0060.00914.25
5.5.120.0000.01513.93
5.5.110.0090.00613.89
5.5.100.0080.00814.20
5.5.90.0100.00714.25
5.5.80.0060.00914.29
5.5.70.0140.00013.96
5.5.60.0030.01014.17
5.5.50.0040.01114.17
5.5.40.0040.00814.17
5.5.30.0120.00314.16
5.5.20.0030.01113.71
5.5.10.0000.01414.19
5.5.00.0040.01213.72
5.4.450.0560.02915.09
5.4.440.0450.03715.17
5.4.430.0450.04115.33
5.4.420.0600.02815.25
5.4.410.0450.03515.06
5.4.400.0580.03014.93
5.4.390.0550.03815.17
5.4.380.0600.02815.21
5.4.370.0590.02915.10
5.4.360.0480.03715.14
5.4.350.0580.02814.88
5.4.340.0500.03214.98
5.4.330.0000.00611.04
5.4.320.0550.02615.12
5.4.310.0510.02514.95
5.4.300.0370.03015.07
5.4.290.0400.03514.78
5.4.280.0410.03015.01
5.4.270.0520.02714.88
5.4.260.0590.02314.96
5.4.250.0500.03415.02
5.4.240.0470.03215.22
5.4.230.0480.03015.14
5.4.220.0450.03515.18
5.4.210.0480.03214.95
5.4.200.0510.03115.13
5.4.190.0520.02814.89
5.4.180.0390.03015.18
5.4.170.0580.03015.00
5.4.160.0520.02915.08
5.4.150.0500.03515.05
5.4.140.0500.02813.74
5.4.130.0550.02813.79
5.4.120.0420.03413.70
5.4.110.0510.03513.71
5.4.100.0460.03313.81
5.4.90.0270.02613.54
5.4.80.0050.02713.72
5.4.70.0190.02213.71
5.4.60.0020.03613.63
5.4.50.0030.04013.46
5.4.40.0030.03013.78
5.4.30.0150.03013.73
5.4.20.0050.03013.80
5.4.10.0040.00810.98
5.4.00.0000.00611.01

preferences:
37.49 ms | 401 KiB | 5 Q