3v4l.org

run code in 300+ PHP versions simultaneously
<?php //ключ - ид области $areas = array( 40 => "Львовская обл", 14 => "Днепропетровская обл",//+ 37 => "Липецкая обл", 2 => "Донецкая обл",//+ 4 => "Одесская обл",//+ 16 => "Харьковская обл",//+ 3 => "Запорожская обл",//+ 5 => "Луганская обл",//+ 9 => "АР Крым",//+ 17 => "Донецкая обл", 8 => "Николаевская обл",//+ 12 => "Днепропетровская обл", 28 => "Житомирская обл", 32 => "Тернопольская обл",//+ 15 => "Донецкая обл", 27 => "АР Крым", 33 => "Винницкая обл", 34 => "Ивано-Франковская обл", 35 => "Волинська обл", 36 => "Закарпатьска обл", 11 => "Полтавская обл", 7 => "Херсонская обл" ); $iasdo = null; var_dump(urldecode(array(1,2,3)));
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught TypeError: urldecode(): Argument #1 ($string) must be of type string, array given in /in/9ZTET:30 Stack trace: #0 /in/9ZTET(30): urldecode(Array) #1 {main} thrown in /in/9ZTET on line 30
Process exited with code 255.
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.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.5 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Warning: urldecode() expects parameter 1 to be string, array given in /in/9ZTET on line 30 NULL

preferences:
223.11 ms | 405 KiB | 356 Q