3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ( 2 => array ( 20 => '30000', 21 => '30000', 22 => '30000', 23 => '30000', 24 => '30000', 25 => '30000', 26 => '30000', 27 => '30000', 28 => '30000', 29 => '30000', 30 => '30000', 31 => '30000', 32 => '30000', 33 => '30000', 34 => '30000', 35 => '30000', 36 => '30000', 37 => '30000', 38 => '30000', 39 => '30000', 40 => '30000', 41 => '30000', 42 => '30000', 43 => '30000', 44 => '30000', 45 => '30000', 46 => '30000', 47 => '30000', 48 => '30000', 49 => '30000', 50 => '30000', 51 => '30000', 52 => '30000', 53 => '30000', 54 => '30000', 55 => '30000', 56 => '30000', 57 => '30000', 58 => '30000', 59 => '30000', 60 => '30000', 61 => '30000', 62 => '30000', 63 => '30000', 64 => '30000', 65 => '30000', 66 => '30000', 67 => '30000', 68 => '30000', 69 => '30000', 70 => '30000', 71 => '30000', 72 => '30000', 73 => '30000', 74 => '30000', 75 => '30000', 76 => '30000', 77 => '30000', 78 => '30000', 79 => '30000', 80 => '30000', 81 => '30000', 82 => '30000', 83 => '30000', 84 => '30000', 85 => '30000', 86 => '30000', 87 => '30000', 88 => '30000', 89 => '30000', 90 => '30000', 91 => '30000', 92 => '30000', 93 => '30000', 94 => '30000', 95 => '30000', 96 => '30000', 97 => '30000', 98 => '30000', 99 => '30000', 100 => '30000', 101 => '30000', 102 => '30000', 103 => '30000', 104 => '30000', 105 => '30000', 106 => '30000', 107 => '30000', 108 => '30000', 109 => '30000', 110 => '30000', 111 => '30000', 112 => '30000', 113 => '30000', 114 => '30000', 115 => '30000', 116 => '30000', 117 => '30000', 118 => '30000', 119 => '30000', 120 => '30000', 121 => '30000', 122 => '30000', 123 => '30000', 124 => '30000', 125 => '30000', 126 => '30000', 127 => '30000', 128 => '30000', 129 => '30000', 130 => '30000' ), 3 => array ( 0 => 'Agacorp', 1 => 'Mysoft Inc.', 2 => 'Robolordz.deth', 3 => 'Elite Escort Services', 4 => 'Crashmaster LLC', 5 => 'Stevecorp', 6 => 'WDC', 7 => 'Scorpsoft', 8 => 'The people who make good games', 9 => 'Emperor Computers', 10 => 'stylin\'s corporation', 11 => 'Joth Esmo Enterprises', 12 => 'selfstyled masters of the univ', 13 => 'God Corp Ltd.', 14 => 'Empire', 15 => 'Rebels R Us', 16 => 'Yoshimo Inc', 17 => 'Tarova Corp.', 18 => 'Kunde Corp.', 19 => 'Nico Bella', 20 => 'Bloogton Inc.', 21 => 'Mothworks', 22 => 'Searnas', 23 => 'Abulf', 24 => 'Sobek\'s Ankh Corp.', 25 => 'noonescorp', 26 => 'Banco Maua Cia.', 27 => 'Bazosoft', 28 => 'Kallon Games Inc.', 29 => 'Niemps Repair Company', 30 => 'Tinkerbell Co.', 31 => 'NightPro Corp.', 32 => 'HexCorp', 33 => 'October Corporation', 34 => 'non', 35 => 'inimino', 36 => 'Vongard alliance', 37 => 'AnoCorp', 38 => 'Battlecorp', 39 => 'crap', 40 => 'Tycarian Industries', 41 => 'TbbW', 42 => 'Agas Babys Mamma LLC', 43 => 'MokaLife', 44 => 'Slugs', 45 => 'Titanic', 46 => 'Azk', 47 => '123', 48 => 'Egg', 49 => 'Public', 50 => 'DudeMix', 51 => 'Saxen', 52 => 'Indanedione', 53 => 'wefwef', 54 => 'Foozle', 55 => 'flying lobsters', 56 => 'macrosoft', 57 => 'Vyker PLC', 58 => 'Muds Magical Emporium', 59 => 'rnxx', 60 => 'Knight Enterprises', 61 => 'asshat, inc', 62 => 'Hell Inc.', 63 => 'The Cute Goats', 64 => 'AntiAgaCorp', 65 => 'Widgets Inc.', 66 => 'orange', 67 => 'RandCorp', 68 => 'Tron', 69 => 'Financiers', 70 => 'Aerocity', 71 => 'moosedoom corp', 72 => 'test corp', 73 => 'Magical Ponies LTD', 74 => 'Bolt Inc.', 75 => 'Monstropoly', 76 => 'Cleanercorp', 77 => 'Bug Inc', 78 => 'ballsmcgeeinc', 79 => 'vincent\'s corporation', 80 => 'az blue\'s corporation', 81 => 'ToysForever', 82 => 'VOLEFLOWER', 83 => 'Massive Dynamic', 84 => 'Crafty', 85 => 'PlunnDarr', 86 => 'tatayoyo', 87 => 'LJ Corp', 88 => 'Yeti Slave Corp 3001', 89 => 'gbcorp', 90 => 'Dested', 91 => 'DerpCo', 92 => 'Moneybags Holdings', 93 => 'SetusUpTheBomb', 94 => 'Quills and Sofas', 95 => 'Bank', 96 => 'Mafia Corp', 97 => 'GixBox', 98 => 'ArmenCorp', 99 => 'poiu', 100 => 'pigpen', 101 => 'TesaCorp', 102 => 'Bubble Corp', 103 => 'DingoAteMyBaby', 104 => 'Hess International', 105 => 'InstaCorp', 106 => 'Emay', 107 => 'Gorlami', 108 => 'Empire_IR', 109 => 'SynTech', 110 => 'Fred AG', 111 => 'nishant', 112 => 'OllyCorp', 113 => 'Aberrant Industries, Inc.', 114 => 'evoshell', 115 => 'blackmoondevGames', 116 => 'Agacorp 3', 117 => 'pr0di', 118 => 'amitp', 119 => 'walmart', 120 => 'ppy corp', 121 => 'Schmoigl', 122 => 'Synesthesia Industries', 123 => 'The pros', 124 => 'unstoppable inc', 125 => 'Apple', 126 => 'MyCorp', 127 => 'Line', 128 => 'Corporation', 129 => 'C.E. Stendall', 130 => 'agcorp4', 131 => 'Agacorp5', 132 => 'centcorp', ), ); echo json_encode ($a);

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.0040.01118.75
8.3.30.0110.00419.14
8.3.20.0050.00320.21
8.3.10.0070.00022.05
8.3.00.0040.00422.40
8.2.170.0150.00622.96
8.2.160.0150.00020.95
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00726.16
8.2.120.0000.00819.23
8.2.110.0030.00619.31
8.2.100.0040.00818.03
8.2.90.0090.00019.27
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0000.00817.79
8.2.50.0000.00818.07
8.2.40.0050.00218.34
8.2.30.0040.00418.19
8.2.20.0040.00417.58
8.2.10.0040.00419.45
8.2.00.0000.00817.55
8.1.270.0000.00822.14
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0090.00022.54
8.1.230.0040.00720.91
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0040.00417.25
8.1.190.0080.00017.15
8.1.180.0050.00318.66
8.1.170.0000.00818.53
8.1.160.0000.00823.71
8.1.150.0040.00418.64
8.1.140.0000.00817.38
8.1.130.0070.00017.81
8.1.120.0000.00717.44
8.1.110.0060.00317.32
8.1.100.0000.00717.31
8.1.90.0050.00217.48
8.1.80.0040.00417.42
8.1.70.0030.00317.32
8.1.60.0000.00817.44
8.1.50.0040.00417.39
8.1.40.0040.00417.43
8.1.30.0050.00517.53
8.1.20.0000.00817.64
8.1.10.0050.00317.58
8.1.00.0030.00517.50
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0030.00318.38
8.0.270.0030.00317.21
8.0.260.0030.00316.91
8.0.250.0030.00616.96
8.0.240.0050.00316.87
8.0.230.0000.00716.93
8.0.220.0030.00316.73
8.0.210.0000.00716.75
8.0.200.0000.00716.91
8.0.190.0000.00716.82
8.0.180.0000.00816.87
8.0.170.0030.00516.89
8.0.160.0000.00816.88
8.0.150.0000.00716.81
8.0.140.0030.00516.73
8.0.130.0000.00613.22
8.0.120.0050.00316.79
8.0.110.0000.00716.76
8.0.100.0040.00416.88
8.0.90.0050.00316.79
8.0.80.0100.01316.84
8.0.70.0030.00516.80
8.0.60.0040.00416.77
8.0.50.0040.00416.91
8.0.30.0140.00617.12
8.0.20.0110.00817.40
8.0.10.0040.00417.09
8.0.00.0070.01116.79
7.4.330.0030.00315.00
7.4.320.0060.00016.47
7.4.300.0070.00016.36
7.4.290.0000.00716.57
7.4.280.0000.00816.46
7.4.270.0060.00016.33
7.4.260.0040.00416.46
7.4.250.0000.00816.50
7.4.240.0040.00316.56
7.4.230.0040.00416.50
7.4.220.0150.00416.55
7.4.210.0050.01016.55
7.4.200.0040.00416.41
7.4.190.0050.00216.63
7.4.160.0110.01116.41
7.4.150.0110.00717.40
7.4.140.0060.01117.86
7.4.130.0120.00616.62
7.4.120.0090.00816.46
7.4.110.0060.01516.37
7.4.100.0100.00716.34
7.4.90.0030.01516.36
7.4.80.0030.01619.39
7.4.70.0130.01016.41
7.4.60.0110.00616.38
7.4.50.0040.00416.63
7.4.40.0100.00322.77
7.4.30.0030.01216.61
7.4.00.0030.01514.77
7.3.330.0030.00313.00
7.3.320.0060.00013.03
7.3.310.0000.00716.05
7.3.300.0000.00716.18
7.3.290.0030.01216.17
7.3.280.0100.00616.17
7.3.270.0090.00817.40
7.3.260.0130.00316.45
7.3.250.0070.01316.41
7.3.240.0140.00416.34
7.3.230.0120.00616.39
7.3.210.0090.01116.07
7.3.200.0160.00619.39
7.3.190.0130.00916.28
7.3.180.0130.00516.28
7.3.170.0030.01316.27
7.3.160.0100.00716.39
7.3.120.0110.00714.84
7.3.110.0040.01114.53
7.3.100.0120.00614.59
7.3.90.0080.00614.46
7.3.80.0030.00714.70
7.3.70.0130.00314.60
7.3.60.0060.00314.84
7.3.50.0040.00714.84
7.3.40.0050.00314.36
7.3.30.0030.00714.66
7.3.20.0100.00016.60
7.3.10.0100.00716.43
7.3.00.0090.00016.43
7.2.330.0040.01616.52
7.2.320.0100.00716.41
7.2.310.0130.01016.21
7.2.300.0130.00316.54
7.2.290.0110.01116.36
7.2.250.0060.01215.17
7.2.240.0090.00414.73
7.2.230.0090.00615.07
7.2.220.0030.01215.17
7.2.210.0070.00314.80
7.2.200.0070.00715.01
7.2.190.0100.00014.77
7.2.180.0070.00714.85
7.2.170.0080.00414.87
7.2.160.0000.01314.61
7.2.150.0140.00016.54
7.2.140.0110.00316.54
7.2.130.0040.00716.95
7.2.120.0140.00016.57
7.2.110.0040.00816.80
7.2.100.0000.01016.59
7.2.90.0070.00716.85
7.2.80.0030.00816.93
7.2.70.0100.00716.86
7.2.60.0040.00716.90
7.2.50.0120.00316.62
7.2.40.0100.00716.68
7.2.30.0070.01116.83
7.2.20.0030.01016.87
7.2.10.0030.00616.86
7.2.00.0040.00918.08
7.1.330.0030.01415.68
7.1.320.0000.01115.60
7.1.310.0030.01015.65
7.1.300.0120.00615.54
7.1.290.0030.00715.40
7.1.280.0000.01015.53
7.1.270.0060.00615.79
7.1.260.0000.01015.51
7.1.250.0060.00615.52
7.1.240.0090.00015.77
7.1.230.0090.00615.79
7.1.220.0090.00315.59
7.1.210.0080.00515.63
7.1.200.0040.01215.49
7.1.190.0030.01615.76
7.1.180.0100.01015.59
7.1.170.0060.00915.92
7.1.160.0080.01115.48
7.1.150.0030.01015.89
7.1.140.0110.00415.77
7.1.130.0070.00715.83
7.1.120.0040.01415.41
7.1.110.0030.00915.74
7.1.100.0060.00616.90
7.1.90.0100.00615.57
7.1.80.0030.01415.77
7.1.70.0110.00216.37
7.1.60.0050.00717.77
7.1.50.0050.01216.28
7.1.40.0040.01215.45
7.1.30.0110.00415.72
7.1.20.0070.00715.71
7.1.10.0090.00315.53
7.1.00.0060.03819.16
7.0.330.0110.00415.47
7.0.320.0030.00915.44
7.0.310.0040.00815.26
7.0.300.0040.00815.19
7.0.290.0030.01315.48
7.0.280.0100.00715.31
7.0.270.0030.00515.29
7.0.260.0070.01015.54
7.0.250.0030.00915.00
7.0.240.0040.01115.11
7.0.230.0040.01115.26
7.0.220.0120.00315.39
7.0.210.0080.00815.41
7.0.200.0050.00415.91
7.0.190.0060.00915.02
7.0.180.0040.01115.17
7.0.170.0090.00615.14
7.0.160.0030.00615.01
7.0.150.0030.01015.24
7.0.140.0100.03518.90
7.0.130.0060.00615.38
7.0.120.0070.00315.45
7.0.110.0070.01015.34
7.0.100.0080.00415.20
7.0.90.0140.03217.61
7.0.80.0200.03917.59
7.0.70.0120.03017.70
7.0.60.0020.02717.50
7.0.50.0050.04417.87
7.0.40.0060.03716.80
7.0.30.0070.04216.76
7.0.20.0110.04016.70
7.0.10.0090.02816.77
7.0.00.0080.04516.79
5.6.400.0040.00414.09
5.6.390.0060.00614.19
5.6.380.0090.00614.62
5.6.370.0060.01014.34
5.6.360.0030.00714.30
5.6.350.0030.01014.12
5.6.340.0000.01414.46
5.6.330.0040.01214.19
5.6.320.0030.01014.42
5.6.310.0060.01214.38
5.6.300.0070.00714.16
5.6.290.0040.01114.59
5.6.280.0040.03917.62
5.6.270.0040.01114.17
5.6.260.0000.01514.22
5.6.250.0060.00914.50
5.6.240.0080.04617.46
5.6.230.0090.02917.33
5.6.220.0070.02517.65
5.6.210.0080.03817.64
5.6.200.0070.04417.72
5.6.190.0080.04417.65
5.6.180.0070.04617.78
5.6.170.0060.02917.59
5.6.160.0070.03317.62
5.6.150.0050.03817.79
5.6.140.0100.02917.73
5.6.130.0020.03617.71
5.6.120.0070.04817.71
5.6.110.0050.04717.73
5.6.100.0140.03417.69
5.6.90.0060.02617.73
5.6.80.0050.04117.60
5.6.70.0050.04217.34
5.6.60.0130.03517.53
5.6.50.0070.04317.38
5.6.40.0080.01917.31
5.6.30.0000.04417.45
5.6.20.0070.02317.30
5.6.10.0070.02517.19
5.6.00.0100.03817.29
5.5.380.0070.04317.31
5.5.370.0030.04417.21
5.5.360.0100.04017.40
5.5.350.0050.03017.24
5.5.340.0030.02817.38
5.5.330.0120.03917.50
5.5.320.0090.04217.68
5.5.310.0120.03717.41
5.5.300.0050.05017.52
5.5.290.0040.03417.70
5.5.280.0040.03017.39
5.5.270.0030.03117.53
5.5.260.0120.03117.57
5.5.250.0040.03317.30
5.5.240.0090.03617.26
5.5.230.0110.03617.26
5.5.220.0060.03217.09
5.5.210.0030.03017.02
5.5.200.0090.03717.24
5.5.190.0070.02717.21
5.5.180.0020.03017.18
5.5.170.0080.00514.21
5.5.160.0030.02617.17
5.5.150.0080.02317.27
5.5.140.0060.02617.19
5.5.130.0060.02117.15
5.5.120.0030.02117.25
5.5.110.0100.03717.21
5.5.100.0030.02417.22
5.5.90.0030.02017.26
5.5.80.0050.02517.09
5.5.70.0100.02417.17
5.5.60.0030.03917.19
5.5.50.0040.02316.98
5.5.40.0060.03817.06
5.5.30.0070.03017.08
5.5.20.0050.02016.95
5.5.10.0070.02417.11
5.5.00.0080.01716.96
5.4.450.0060.04016.09
5.4.440.0080.04116.15
5.4.430.0080.03516.05
5.4.420.0070.02216.12
5.4.410.0040.04415.95
5.4.400.0070.03816.00
5.4.390.0100.03716.06
5.4.380.0020.04715.96
5.4.370.0070.04015.96
5.4.360.0030.04815.96
5.4.350.0030.04015.93
5.4.340.0030.03815.96
5.4.330.0030.00712.89
5.4.320.0110.03116.05
5.4.310.0030.04215.96
5.4.300.0070.03815.96
5.4.290.0070.01715.83
5.4.280.0070.01716.01
5.4.270.0020.02215.96
5.4.260.0020.02215.94
5.4.250.0070.01615.99
5.4.240.0070.02215.95
5.4.230.0050.04215.83
5.4.220.0060.03816.05
5.4.210.0050.03015.85
5.4.200.0100.02215.98
5.4.190.0020.02216.02
5.4.180.0020.02215.88
5.4.170.0030.04015.83
5.4.160.0030.03515.99
5.4.150.0080.03515.90
5.4.140.0000.02114.49
5.4.130.0030.03114.58
5.4.120.0050.02614.63
5.4.110.0030.03214.62
5.4.100.0030.03314.68
5.4.90.0020.02214.58
5.4.80.0020.02714.67
5.4.70.0120.03014.61
5.4.60.0030.02714.59
5.4.50.0040.02614.64
5.4.40.0090.03714.56
5.4.30.0060.03514.57
5.4.20.0050.02914.61
5.4.10.0070.02114.56
5.4.00.0100.01814.35
5.3.290.0030.02313.77
5.3.280.0030.03813.71
5.3.270.0030.03913.77
5.3.260.0050.01713.75
5.3.250.0030.04313.72
5.3.240.0050.03113.79
5.3.230.0000.03213.75
5.3.220.0040.02213.69
5.3.210.0050.03313.75
5.3.200.0070.03213.76
5.3.190.0030.04113.76
5.3.180.0050.02313.69
5.3.170.0090.01813.67
5.3.160.0060.02113.74
5.3.150.0040.02413.76
5.3.140.0070.02713.71
5.3.130.0030.04313.73
5.3.120.0040.03413.75
5.3.110.0100.02213.75
5.3.100.0020.03613.49
5.3.90.0070.03213.45
5.3.80.0100.03213.48
5.3.70.0120.03813.49
5.3.60.0080.03513.41
5.3.50.0040.02713.45
5.3.40.0070.03713.42
5.3.30.0030.04413.41
5.3.20.0050.04113.33
5.3.10.0090.03513.30
5.3.00.0090.03413.29
5.2.170.0000.05011.18
5.2.160.0100.05311.04
5.2.150.0100.05711.15
5.2.140.0030.04311.07
5.2.130.0100.05711.22
5.2.120.0100.03711.23
5.2.110.0070.05311.18
5.2.100.0200.05010.97
5.2.90.0030.06011.13
5.2.80.0030.05011.21
5.2.70.0070.03011.18
5.2.60.0070.06010.99
5.2.50.0030.06011.03
5.2.40.0100.04010.93
5.2.30.0070.05310.87
5.2.20.0000.06011.03
5.2.10.0070.04011.01
5.2.00.0030.04310.82
5.1.60.0000.04010.09
5.1.50.0030.05310.11
5.1.40.0130.04010.04
5.1.30.0130.04710.34
5.1.20.0130.02310.50
5.1.10.0030.05710.17
5.1.00.0100.03010.13
5.0.50.0000.0278.51
5.0.40.0130.0138.54
5.0.30.0000.0608.32
5.0.20.0070.0178.38
5.0.10.0000.0308.33
5.0.00.0030.0578.36
4.4.90.0070.0337.75
4.4.80.0000.0407.75
4.4.70.0030.0377.75
4.4.60.0000.0277.75
4.4.50.0100.0277.75
4.4.40.0000.0307.75
4.4.30.0030.0277.75
4.4.20.0100.0137.75
4.4.10.0000.0207.75
4.4.00.0030.0307.75
4.3.110.0030.0307.75
4.3.100.0070.0137.75
4.3.90.0030.0137.75
4.3.80.0000.0337.75
4.3.70.0000.0177.75
4.3.60.0000.0307.75
4.3.50.0030.0207.75
4.3.40.0000.0307.75
4.3.30.0030.0207.75
4.3.20.0000.0177.75
4.3.10.0030.0207.75
4.3.00.0000.0207.75

preferences:
43.61 ms | 400 KiB | 5 Q