How to check PHP compatability?

Giganews Newsgroups
Subject: How to check PHP compatability?
Posted by:  zeebop (ye…@um.right)
Date: Sat, 12 Sep 2009


I have some php files that form an application, and are running on
Apache with PHP4.

Before I migrate to PHP5 is there a way I can process the php files
and check for any issues they might have?

I have already migrated them to a test PHP5 environment, and they seem
fine, but it would be great if there is a tool to run through them and

Is there a way of automatically checking for php references that are
invalid in PHP5?

Thanks for any pointers