Magnesium-dependent phosphatase which may act as a tyrosine phosphatase. H2O + O-phospho-L-tyrosyl-[protein] = L-tyrosyl-[protein] + phosphate Inhibited by vanadate and zinc, and slightly by calcium. Dephosphorylates ribose-5-phosphate, 2-deoxy-ribose-5-phosphate, phosphotyrosine, arabinose-5-phosphate, fructose-6-phosphate, 5'-CMP, pNPP, 5'-AMP and glucose-6-phosphate with a decreasing relative rate of 1, 0.9, 0.8, 0.6, 0.5, 0.2, 0.2, 0.2 and 0.06. Dephosphorylates phosphotyrosine with a greater than 100 fold rate over phosphoserine or phosphothreonine. Optimum pH is 5.3. Belongs to the HAD-like hydrolase superfamily.