Visible-light-induced ligand to metal charge transfer excitation enabled phosphorylation of aryl halides.