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. Belongs to the HAD-like hydrolase superfamily.