<?php
// Online PHP compiler to run PHP program online
// Print "Try programiz.pro" message
//echo "Try programiz.pro";
$city = "Abu Dhabi";
$apiKey = "3fc94c21d6f0e3ece88d1dad4ed912d5";
$googleApiUrl = "http://a...content-available-to-author-only...p.org/data/2.5/weather?q=".$city."&APPID=".$apiKey;
$cityId = $data_cityname->id;
?>
PD9waHAKLy8gT25saW5lIFBIUCBjb21waWxlciB0byBydW4gUEhQIHByb2dyYW0gb25saW5lCi8vIFByaW50ICJUcnkgcHJvZ3JhbWl6LnBybyIgbWVzc2FnZQovL2VjaG8gIlRyeSBwcm9ncmFtaXoucHJvIjsKCiRjaXR5ID0gIkFidSBEaGFiaSI7CiRhcGlLZXkgPSAiM2ZjOTRjMjFkNmYwZTNlY2U4OGQxZGFkNGVkOTEyZDUiOwokZ29vZ2xlQXBpVXJsID0gImh0dHA6Ly9hLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5wLm9yZy9kYXRhLzIuNS93ZWF0aGVyP3E9Ii4kY2l0eS4iJkFQUElEPSIuJGFwaUtleTsKCiAgJGNoID0gY3VybF9pbml0KCk7CiAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX0hFQURFUiwgMCk7CiAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCAxKTsKICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfVVJMLCAkZ29vZ2xlQXBpVXJsKTsKICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfRk9MTE9XTE9DQVRJT04sIDEpOwogIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9WRVJCT1NFLCAwKTsKICBjdXJsX3NldG9wdCgkY2gsIENVUkxPUFRfU1NMX1ZFUklGWVBFRVIsIGZhbHNlKTsKICAkcmVzcG9uc2UgPSBjdXJsX2V4ZWMoJGNoKTsKCiAgY3VybF9jbG9zZSgkY2gpOwogICRkYXRhX2NpdHluYW1lID0ganNvbl9kZWNvZGUoJHJlc3BvbnNlKTsKICAkY2l0eUlkID0gJGRhdGFfY2l0eW5hbWUtPmlkOwogIGVjaG8gJGNpdHlJZDsgZGllOwogIAogIAo/Pg==