Catalyzes Strongly the dephosphorylation of pyridoxal-phosphate (PLP) and moderately the dephosphorylation of 2-deoxyglucose 6-phosphate (2bGLU6P) and beta-glucose 6-phosphate (bGlu6P). Also hydrolyzes both purines (GMP and IMP) and pyrimidines as secondary substrates. H2O + pyridoxal 5'-phosphate = phosphate + pyridoxal sugar phosphate + H2O = sugar + phosphate. Magnesium. Can also use other divalent metal cations as manganese, cobalt or zinc. Optimum pH is between 6 and 7.5. Belongs to the HAD-like hydrolase superfamily. Cof family.