Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/28014/how-do-i-extract-osm_type-from-nominatim-result-using-php/28016