Upgrading from php4 to 5

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
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

Upgrading from php4 to 5

Post by GeXus »

Does anyone know if there should be issues in upgrading? Thanks!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Yes. There may be some. Really depends upon the code you're referring to. For the mostpart things are backward compatible though.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

backward compatible php 5 is. experience problems you should not.

edit: damn you d11...beat me to it.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

It's not 100% backward compatible. The only things which will cause you problems however are poorly written code. They stopped alowing a few naughty-naughty's (e.g. reassigning $this) and also changed the way references are handled with objects.
Post Reply