Acts as a catabolic phospho-lyase on both gamma- and beta-phosphorylated substrates. Degrades O-phospho-threonine (PThr) to alpha-ketobutyrate, ammonia and phosphate. Also degrades O-phospho-homoserine (PHS), but this is not its physiological substrate. Belongs to the threonine synthase family.