Get current weather by zipcode
You can now retrieve the current weather using a zipcode (see here for official OWM documentation).
// Get current temperature from zip code (Hyderabad, India).
$weather = $owm->getWeather('zip:500001,IN', $units, $lang);
echo 'City: '.$weather->city->name;
echo 'Temperature: '.$weather->temperature;