fork download
  1. <?php
  2. $ar = [
  3. 'CITY' => [
  4. 'ID' => 479561,
  5. 'LAT' => 54.74306,
  6. 'LON' => 55.96779,
  7. 'NAME_RU' => 'УФА',
  8. 'NAME_EN' => 'UFA'
  9. ],
  10. 'COUNTRY' => [
  11. 'ID' => 185,
  12. 'ISO' => 'RU'
  13. ]
  14. ];
  15. print_r($ar);
  16. echo PHP_EOL;
  17. echo $ar['CITY']['NAME_RU'];
Success #stdin #stdout 0.02s 23776KB
stdin
Standard input is empty
stdout
Array
(
    [CITY] => Array
        (
            [ID] => 479561
            [LAT] => 54.74306
            [LON] => 55.96779
            [NAME_RU] => УФА
            [NAME_EN] => UFA
        )

    [COUNTRY] => Array
        (
            [ID] => 185
            [ISO] => RU
        )

)

УФА