update code from php4 to php5

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
johnhelen
Forum Commoner
Posts: 45
Joined: Mon Feb 19, 2007 9:17 pm

update code from php4 to php5

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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).
Post Reply