Did you have any specific problems? What are the error message?
If not testes so far, just do so.
If you like to proactively change your script to avoid known backwards incompatibility you could either google for e.g. "php4 to 5 compatibility" or directly visit the php docs:
Did you also check whether phpmailer is php5 ready as well?