function lookup($id) { return $id && is_numeric($id) && ($tz = new Timezone($id)) && $tz->getId() == $id ? $tz : null; }