At least three people were killed and dozens injured when a magnitude 6.4 earthquake struck the southern Philippines late on Wednesday, authorities said on Thursday.