title: Open source PHP function for converting UTM coordinates to latitude and longitude?
body: <p>I'm making a PHP application involving Google Maps. Maps only accepts <strong>lat&amp;lng</strong> pairs, and the data I want to display comes only with UTM style coordinates. Is there an open-source PHP function to convert from one to the other?</p>
  
  <p>Something like this would be great:</p>
  
  <pre><code>$UTM_ZONE = '32';
  $UTMX = '60329834,34';
  $UTMY = '67382984,9';
  
  $latlng = convert($UTM_ZONE, $UTMX, $UTMY);
  
  // $latlng = now looks like
  // array('lat' =&gt; '59.4472917501', 'lng' =&gt; '5.3928572425')
  </code></pre>