This enzyme destabilizes the C-P bond, by forming an imine between one of its lysine residues and the carbonyl group of the substrate, thus allowing this, normally stable, bond to be broken. The mechanism is similar to that used by EC 4.1.2.13, fructose-bisphosphate aldolase, to break a C-C bond. Belongs to the haloacetate dehalogenase family.