1

I have one big php application running on php 4 but I want to move this application on php 5.2 but I am not sure whether it's all functionally work on it or not as I don't want to test full application again. So I want to know is there a way to find out compatibility of application with php versions.

1

3 Answers 3

2

PHP5 come with major changes, I don't think there's such an automated way to check compatibility out there..

You'll have to check all files manualy. use batch file text seach (and replace?) tools to look for functions, classes etc.

here's your guide to start

Sign up to request clarification or add additional context in comments.

Comments

0

Unfortunately, you're going to have to test it. You can at least use the PHP changelog as a bit of a checklist to see if any code in application is affected.

PHP 4 to PHP 5 was a pretty huge leap; it's probably a safe bet your app was affected even before you go through testing.

Comments

0

You can use online tool for checking syntax compatibility of your code php 4 and php 5.2,5.3. For manual checking read Migrating from PHP 4 to PHP 5.0.x .

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.