3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace GlobalAlliance\Services\Page; use const CONSTANT_NUMBER_ONE; class NavigationStructure { private static $root; private static $list; private static $fullList = array(); private static $fullPaths2NavigationItems = array(); private static $levels2NavigationItems = array(); private static $activeItem = NULL; private static $activeRequestPath = NULL; private static $navigationRoots = array(); static function init() { // For the group guest there are two possible navigations (branded and GA), so we need an array here self::$navigationRoots[CONSTANT_NUMBER_ONE] = array(); } } NavigationStructure::init();

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.0160.00318.43
8.3.50.0090.01221.16
8.3.40.0080.00818.71
8.3.30.0040.01118.84
8.3.20.0080.00020.39
8.3.10.0080.00023.66
8.3.00.0080.00019.80
8.2.180.0080.00816.38
8.2.170.0060.00922.96
8.2.160.0000.01320.35
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0050.00317.63
8.2.110.0070.00321.07
8.2.100.0030.00917.84
8.2.90.0000.00819.34
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0030.00617.68
8.2.50.0090.00018.10
8.2.40.0060.00619.41
8.2.30.0040.00419.90
8.2.20.0030.00517.82
8.2.10.0000.00818.13
8.2.00.0000.00718.05
8.1.280.0140.00025.92
8.1.270.0000.00820.20
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00320.70
8.1.230.0080.00417.45
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.00917.35
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0080.00018.59
8.1.160.0000.00722.02
8.1.150.0000.00718.83
8.1.140.0000.00817.39
8.1.130.0030.00517.64
8.1.120.0040.00417.30
8.1.110.0040.00417.39
8.1.100.0080.00017.42
8.1.90.0000.00717.39
8.1.80.0000.00917.42
8.1.70.0000.00717.28
8.1.60.0030.00517.54
8.1.50.0000.00817.35
8.1.40.0040.00417.47
8.1.30.0080.00017.56
8.1.20.0040.00417.50
8.1.10.0040.00417.39
8.1.00.0000.00717.38
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0040.00418.41
8.0.270.0000.00717.18
8.0.260.0000.00817.20
8.0.250.0040.00416.90
8.0.240.0070.00016.92
8.0.230.0080.00016.98
8.0.220.0000.00716.89
8.0.210.0000.00717.00
8.0.200.0030.00317.07
8.0.190.0110.00017.04
8.0.180.0070.00016.81
8.0.170.0040.00417.02
8.0.160.0070.00016.93
8.0.150.0070.00016.97
8.0.140.0080.00016.95
8.0.130.0030.00313.38
8.0.120.0000.00716.96
8.0.110.0040.00417.02
8.0.100.0070.00016.98
8.0.90.0000.00717.00
8.0.80.0090.00617.00
8.0.70.0040.00416.79
8.0.60.0050.00316.92
8.0.50.0000.00816.94
8.0.30.0070.01017.07
8.0.20.0110.00717.40
8.0.10.0070.00017.05
8.0.00.0090.00916.70
7.4.330.0050.00015.08
7.4.320.0030.00316.44
7.4.300.0060.00016.53
7.4.290.0000.00816.45
7.4.280.0030.00516.46
7.4.270.0000.00616.37
7.4.260.0030.00616.57
7.4.250.0000.00816.28
7.4.240.0040.00416.52
7.4.230.0030.00316.57
7.4.220.0030.01316.61
7.4.210.0110.00416.37
7.4.200.0030.00516.53
7.4.160.0070.00716.56
7.4.150.0150.00317.40
7.4.140.0150.01217.86
7.4.130.0090.01116.41
7.4.120.0050.01216.54
7.4.110.0130.00316.59
7.4.100.0120.00616.42
7.4.90.0080.01316.70
7.4.80.0110.00819.39
7.4.70.0080.01116.45
7.4.60.0160.00016.63
7.4.50.0030.00316.49
7.4.40.0160.00016.56
7.4.30.0070.01116.50
7.4.00.0080.00814.83
7.3.330.0050.00013.23
7.3.320.0050.00013.30
7.3.310.0000.00816.34
7.3.300.0000.00716.25
7.3.290.0100.01016.32
7.3.280.0080.01116.33
7.3.270.0090.00917.40
7.3.260.0070.01016.61
7.3.250.0120.00616.45
7.3.240.0070.01016.58
7.3.230.0140.00316.46
7.3.210.0090.00616.35
7.3.200.0060.01516.29
7.3.190.0050.01116.36
7.3.180.0090.00616.45
7.3.170.0060.01116.47
7.3.160.0060.01016.41
7.3.120.0100.00814.82
7.3.110.0100.00814.95
7.3.100.0100.00514.78
7.3.90.0050.01114.79
7.3.80.0070.00714.80
7.3.70.0070.00514.79
7.3.60.0090.00614.79
7.3.50.0080.00514.59
7.3.40.0020.01014.77
7.3.30.0010.01214.87
7.3.20.0020.01116.50
7.3.10.0020.01316.42
7.3.00.0080.00816.58
7.2.330.0180.00416.58
7.2.320.0110.00716.34
7.2.310.0090.00916.60
7.2.300.0100.00716.73
7.2.290.0060.01216.64
7.2.250.0100.00815.06
7.2.240.0110.00714.97
7.2.230.0060.00814.87
7.2.220.0060.00514.97
7.2.210.0020.01314.74
7.2.200.0060.00814.96
7.2.190.0070.00715.02
7.2.180.0060.00415.05
7.2.170.0060.00814.99
7.2.130.0140.01116.73
7.2.120.0130.01316.61
7.2.110.0040.01516.78
7.2.100.0170.00716.84
7.2.90.0170.00816.96
7.2.80.0100.00716.85
7.2.70.0060.01016.69
7.2.60.0060.00916.95
7.2.50.0120.00816.92
7.2.40.0110.00716.56
7.2.30.0110.00716.59
7.2.20.0080.00816.68
7.2.10.0000.01616.64
7.2.00.0030.00918.09
7.1.330.0030.01215.78
7.1.320.0030.00815.64
7.1.310.0060.01015.75
7.1.300.0060.00315.57
7.1.290.0090.00515.69
7.1.280.0030.00715.80
7.1.270.0080.00515.69
7.1.260.0070.00615.67
7.1.250.0180.00415.74
7.1.240.0110.00615.50
7.1.230.0040.01315.50
7.1.220.0120.00615.79
7.1.210.0070.01115.49
7.1.200.0050.01015.45
7.1.190.0090.00915.78
7.1.180.0090.00915.70
7.1.170.0030.01215.69
7.1.160.0040.00715.46
7.1.150.0000.01015.72
7.1.140.0110.00615.59
7.1.130.0060.00615.74
7.1.120.0000.01415.57
7.1.110.0040.01115.84
7.1.100.0040.00916.70
7.1.90.0000.01515.71
7.1.80.0110.00415.44
7.1.70.0060.00716.15
7.1.60.0030.01217.39
7.1.50.0130.01125.22
7.1.40.0070.00715.55
7.1.30.0000.01215.68
7.1.20.0130.00015.39
7.1.10.0060.00915.66
7.1.00.0060.04218.92
7.0.330.0120.01015.17
7.0.320.0100.00415.30
7.0.310.0030.01415.44
7.0.300.0030.01715.41
7.0.290.0100.00615.16
7.0.280.0100.00615.18
7.0.270.0120.00315.39
7.0.260.0070.00715.02
7.0.250.0080.00315.30
7.0.240.0060.00615.24
7.0.230.0030.01015.48
7.0.220.0120.00515.10
7.0.210.0070.00415.16
7.0.200.0080.00516.09
7.0.190.0070.00415.38
7.0.180.0000.01115.22
7.0.170.0080.00815.20
7.0.160.0060.00615.48
7.0.150.0030.01015.39
7.0.140.0030.01315.45
7.0.130.0080.00315.05
7.0.120.0170.00015.53
7.0.110.0000.00715.48
7.0.100.0030.01015.47
7.0.90.0030.00915.13
7.0.80.0100.00315.36
7.0.70.0110.00515.32
7.0.60.0150.04317.69
7.0.50.0070.04516.55
7.0.40.0100.02716.64
7.0.30.0130.03016.79
7.0.20.0230.03516.80
7.0.10.0100.04616.72
7.0.00.0080.03716.78
5.6.380.0080.00814.23
5.6.370.0040.00814.09
5.6.360.0080.00414.50
5.6.350.0000.01414.20
5.6.340.0080.00614.27
5.6.330.0030.01014.14
5.6.320.0040.00414.50
5.6.310.0060.00314.39
5.6.300.0060.00614.54
5.6.290.0030.00714.30
5.6.280.0000.02117.85
5.6.270.0040.00714.12
5.6.260.0070.00714.25
5.6.250.0040.01114.25
5.6.240.0030.00714.28
5.6.230.0080.00814.19
5.6.220.0050.00214.37
5.6.210.0100.03617.48
5.6.200.0030.02316.26
5.6.190.0060.03517.29
5.6.180.1890.02617.31
5.6.170.0290.02717.31
5.6.160.0170.02817.35
5.6.150.0050.04316.21
5.6.140.0090.01916.24
5.6.130.0070.03916.18
5.6.120.0080.02717.75
5.6.110.0050.04517.58
5.6.100.0100.02017.69
5.6.90.0090.04417.83
5.6.80.0050.04417.45
5.6.70.2230.02317.30
5.6.60.0040.00714.19
5.6.50.0060.00614.09
5.6.40.0160.00314.27
5.6.30.0070.00714.23
5.6.20.0100.00313.96
5.6.10.0080.00314.03
5.6.00.0150.00414.12
5.5.380.0070.00311.18
5.5.370.0060.00611.18
5.5.360.0030.00711.18
5.5.350.0050.03715.79
5.5.340.0070.04014.56
5.5.330.0050.04415.74
5.5.320.0220.02415.77
5.5.310.0130.03315.76
5.5.300.0030.03314.63
5.5.290.0010.02414.56
5.5.280.0030.03316.02
5.5.270.0090.03515.95
5.5.260.0070.03715.92
5.5.250.0050.04415.93
5.5.240.0200.03115.76
5.5.230.0030.00311.18
5.5.220.0050.00511.18
5.5.210.0050.00011.18
5.5.200.0060.00611.18
5.5.190.0000.00811.18
5.5.180.0060.00611.18
5.5.170.0000.00911.18
5.5.160.0090.00311.18
5.5.150.0030.00611.18
5.5.140.0060.00311.18
5.5.130.0050.00011.18
5.5.120.0030.00611.18
5.5.110.0030.00511.18
5.5.100.0030.00911.18
5.5.90.0030.01011.18
5.5.80.0000.00511.18
5.5.70.0030.00511.18
5.5.60.0060.00011.18
5.5.50.0000.00811.18
5.5.40.0000.00711.18
5.5.30.0070.00311.18
5.5.20.0060.00611.18
5.5.10.0000.01011.18
5.5.00.0070.00411.18
5.4.450.0320.03615.28
5.4.440.0370.03015.35
5.4.430.0490.02815.40
5.4.420.0590.03815.40
5.4.410.0500.03515.21
5.4.400.0430.03415.17
5.4.390.0520.02515.16
5.4.380.0360.02715.22
5.4.370.0460.03015.24
5.4.360.0460.02815.24
5.4.350.0490.02915.12
5.4.340.0470.03315.10
5.4.330.0090.00311.18
5.4.320.0420.02415.16
5.4.310.0400.02715.14
5.4.300.0530.02815.21
5.4.290.0560.03215.20
5.4.280.0450.03015.17
5.4.270.0400.03215.08
5.4.260.0350.03315.25
5.4.250.0410.03315.16
5.4.240.0470.03815.24
5.4.230.0390.03015.20
5.4.220.0380.03815.15
5.4.210.0520.03315.17
5.4.200.0360.03615.10
5.4.190.0400.03515.21
5.4.180.0410.03115.25
5.4.170.0500.04015.22
5.4.160.0560.03015.00
5.4.150.0450.03815.01
5.4.140.0480.02813.87
5.4.130.0440.02813.77
5.4.120.0410.03313.85
5.4.110.0410.02813.89
5.4.100.0490.02113.90
5.4.90.0400.02813.80
5.4.80.0350.02813.88
5.4.70.0180.03813.77
5.4.60.0100.02413.86
5.4.50.0050.04013.75
5.4.40.0060.02313.84
5.4.30.0050.03813.75
5.4.20.0190.03213.81
5.4.10.0060.00311.18
5.4.00.0040.00711.18

preferences:
53.08 ms | 401 KiB | 5 Q