3v4l.org

run code in 300+ PHP versions simultaneously
<? $area_ar = array_flip([ 'The Town of Cameron' => '1', 'The Deep Below Aston' => '2', 'The Town of Aston' => '3', 'Pentagram Quest' => '4', 'The Sewers' => '5', 'Earth Underground' => '6', 'Fire Pents' => '7', 'Fire Underground' => '8', 'Ice Pents' => '9', 'Ice Underground' => '10', 'Ice Palace' => '11', 'The Mines' => '12', 'Catacombs' => '13', 'Random Dungeon' => '14', 'The Swamp' => '15', 'The Forest' => '16', 'Exkordon' => '17', 'Bones and Towers' => '18', 'Nomad Plains' => '19', 'Live Quest Area' => '20', 'Test Pents' => '21', 'The Labyrinth' => '22', 'Ice Army Caves' => '23', 'More Ice Army Caves' => '24', 'Rodneys Warped World' => '25', 'Below Aston 2' => '26', 'Brannington Forest' => '28', 'Brannington Town' => '29', 'Clan Spawners' => '30', 'Grimroot' => '31', 'Jobbington' => '32', 'Teufelheim' => '33', 'Caligar' => '34', 'Arkhata' => '37', ]); echo $area_ar;
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.32, 7.2.29 - 7.2.33, 7.3.12 - 7.3.31, 7.4.0 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
<? $area_ar = array_flip([ 'The Town of Cameron' => '1', 'The Deep Below Aston' => '2', 'The Town of Aston' => '3', 'Pentagram Quest' => '4', 'The Sewers' => '5', 'Earth Underground' => '6', 'Fire Pents' => '7', 'Fire Underground' => '8', 'Ice Pents' => '9', 'Ice Underground' => '10', 'Ice Palace' => '11', 'The Mines' => '12', 'Catacombs' => '13', 'Random Dungeon' => '14', 'The Swamp' => '15', 'The Forest' => '16', 'Exkordon' => '17', 'Bones and Towers' => '18', 'Nomad Plains' => '19', 'Live Quest Area' => '20', 'Test Pents' => '21', 'The Labyrinth' => '22', 'Ice Army Caves' => '23', 'More Ice Army Caves' => '24', 'Rodneys Warped World' => '25', 'Below Aston 2' => '26', 'Brannington Forest' => '28', 'Brannington Town' => '29', 'Clan Spawners' => '30', 'Grimroot' => '31', 'Jobbington' => '32', 'Teufelheim' => '33', 'Caligar' => '34', 'Arkhata' => '37', ]); echo $area_ar;
Output for 8.0.13
Warning: Array to string conversion in /in/HGN3n on line 38 Array
Output for 5.4.34 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.6, 7.4.33
Notice: Array to string conversion in /in/HGN3n on line 38 Array
Output for 7.3.32 - 7.3.33
Array

preferences:
183.97 ms | 401 KiB | 311 Q