views:

38

answers:

4

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.

A: 

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.

Mark Trapp
+1  A: 

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

youssef azari
A: 

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 .

Paniyar
A: 

if u have your project in object oriented programming then it will be a big problem for you bt in proceedural you dnt need to afraid ?many things are still working