Catalyzes the dephosphorylation of pyridoxal-phosphate (PLP). Can also hydrolyze erythrose-4-phosphate (Ery4P) and fructose-1,6-bis-phosphate (Fru1,6bisP). H2O + pyridoxal 5'-phosphate = phosphate + pyridoxal 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. CbbY/CbbZ/Gph/YieH family. This ORF is coded on the other strand of an ORF which has been called modD (by PubMed:7665460 and PubMed:8564363), but which seems to be wrong.