Next prayer time entering

Question If you are praying salah and the next salah time enters, is your salah valid. For example, if asr time begins at 4 :12 and when you finish praying zuhr the time is 4:12 is your zuhr considered valid or invalid, would you have caught up with zuhr salah? Answer...