Page 1 of 1

update code from php4 to php5

Posted: Mon Jan 07, 2008 3:49 am
by johnhelen
I have an application using php4. Now I need to update it to php5. What the code needs to be changed. I never did this before so I do not know how to start to do this.

Could you please have suggestion

Many thanks
john

Posted: Mon Jan 07, 2008 3:58 am
by Chris Corbyn
Perhaps you don't need to change anything ;) Most likely you don't need to change anything ;) Just see what happens, it should be backward compatible unless you have crazy broken code which PHP4 let slip through the loop (like re-assigning $this).