3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ( 2 => array ( 0 => '48290803190', 1 => '30000', 2 => '30000', 3 => '30000', 4 => '30000', 5 => '30000', 6 => '30000', 7 => '20000', 8 => '30000', 9 => '30000', 10 => '30000', 11 => '30000', 12 => '30000', 13 => '30000', 14 => '30000', 15 => '30000', 16 => '30000', 17 => '30000', 18 => '30000', 19 => '30000', 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 => '59', 43 => '30000', 44 => '30000', 45 => '30000', 46 => '30000', 47 => '30000', 48 => '30000', 49 => '4', 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 => '5', 64 => '263', 65 => '30000', 66 => '0', 67 => '25300', 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 => '7', 82 => '1', 83 => '29600', 84 => '29600', 85 => '30000', 86 => '29900', 87 => '30000', 88 => '3', 89 => '30000', 90 => '30000', 91 => '29900', 92 => '28900', 93 => '0', 94 => '25260', 95 => '1', 96 => '30000', 97 => '30000', 98 => '30000', 99 => '30000', 100 => '30000', 101 => '7', 102 => '12', 103 => '30000', 104 => '30000', 105 => '30000', 106 => '30000', 107 => '0', 108 => '397173092', 109 => '2072215334', 110 => '30000', 111 => '30000', 112 => '30000', 113 => '30000', 114 => '6000', 115 => '300000', 116 => '90', 117 => '30000', 118 => '100', 119 => '6000', 120 => '30000', 121 => '3590150', 122 => '54779240', 123 => '8443450', 124 => '30000', 125 => '70373350', 126 => '2400', 127 => '5200', 128 => '1000', 129 => '30000', 130 => '3255550', 131 => '30000', 132 => '7135531474', ), 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' 132 => 'centcorp', ), ); echo json_encode ($a); echo "test"; ?>

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)
5.4.260.0130.04612.45
5.4.250.0090.05412.45
5.4.240.0080.05212.44
5.4.230.0130.04812.44
5.4.220.0120.04712.43
5.4.210.0060.04612.44
5.4.200.0080.05112.44
5.4.190.0120.04012.44
5.4.180.0070.05112.43
5.4.170.0110.04612.44
5.4.160.0070.04212.44
5.4.150.0070.04412.43
5.4.140.0070.04112.12
5.4.130.0110.04112.11
5.4.120.0100.03912.07
5.4.110.0070.04012.07
5.4.100.0040.03912.07
5.4.90.0130.07012.07
5.4.80.0110.04912.07
5.4.70.0050.04112.06
5.4.60.0060.04112.06
5.4.50.0090.03712.06
5.4.40.0090.03512.05
5.4.30.0090.03512.05
5.4.20.0070.03612.04
5.4.10.0050.03812.04
5.4.00.0080.04811.54
5.3.280.0060.03812.71
5.3.270.0050.04212.72
5.3.260.0060.04112.72
5.3.250.0060.04112.72
5.3.240.0100.04612.72
5.3.230.0080.04212.71
5.3.220.0110.03312.68
5.3.210.0050.04012.68
5.3.200.0060.03712.68
5.3.190.0070.03612.68
5.3.180.0090.03512.67
5.3.170.0050.03912.66
5.3.160.0070.04012.67
5.3.150.0040.03912.67
5.3.140.0050.03812.66
5.3.130.0080.04412.66
5.3.120.0140.06112.65
5.3.110.0130.04212.66
5.3.100.0100.04912.12
5.3.90.0070.04612.08
5.3.80.0080.04012.08
5.3.70.0100.04612.07
5.3.60.0090.03512.06
5.3.50.0070.03712.00
5.3.40.0070.03812.00
5.3.30.0050.03711.94
5.3.20.0100.03311.72
5.3.10.0100.03711.68
5.3.00.0090.04011.68
5.2.170.0100.0579.18
5.2.160.0150.0929.18
5.2.150.0100.0489.18
5.2.140.0070.0419.17
5.2.130.0080.0399.13
5.2.120.0050.0369.13
5.2.110.0090.0359.14
5.2.100.0070.0379.14
5.2.90.0070.0379.14
5.2.80.0090.0389.13
5.2.70.0100.0379.13
5.2.60.0070.0399.09
5.2.50.0050.0329.05
5.2.40.0060.0309.03
5.2.30.0060.0409.01
5.2.20.0070.0299.00
5.2.10.0070.0348.93
5.2.00.0130.0548.78
5.1.60.0060.0438.07
5.1.50.0060.0338.07
5.1.40.0080.0318.06
5.1.30.0040.0298.41
5.1.20.0050.0298.43
5.1.10.0080.0328.15
5.1.00.0070.0398.15
5.0.50.0090.0356.63
5.0.40.0050.0266.48
5.0.30.0060.0406.30
5.0.20.0060.0256.28
5.0.10.0010.0246.25
5.0.00.0030.0326.24
4.4.90.0020.0174.78
4.4.80.0030.0194.76
4.4.70.0060.0134.76
4.4.60.0010.0174.75
4.4.50.0040.0204.77
4.4.40.0050.0374.71
4.4.30.0050.0164.76
4.4.20.0030.0174.84
4.4.10.0040.0204.84
4.4.00.0020.0364.75
4.3.110.0080.0214.67
4.3.100.0060.0194.66
4.3.90.0040.0194.63
4.3.80.0050.0274.58
4.3.70.0050.0224.63
4.3.60.0010.0234.63
4.3.50.0040.0214.63
4.3.40.0060.0274.54
4.3.30.0050.0173.32
4.3.20.0040.0183.29
4.3.10.0030.0163.26
4.3.00.0070.0176.98

preferences:
148.3 ms | 1394 KiB | 7 Q