The priority of the aldehyde group is more than the phenyl group, thus numbering will start from aldehydic carbon. Therefore the correct IUPAC name of Ph-CH=CH-CHO is: 3-phenylprop-2-enal