php4 and php5 on same system?

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
pinehead18
Forum Contributor
Posts: 329
Joined: Thu Jul 31, 2003 9:20 pm

php4 and php5 on same system?

Post by pinehead18 »

I havn't really even looked into php5, however i'm sure i'll be forced to here before long.

How is it compatible with php4? If i were to install php5 on my server would some of my code that is coded in php4 break?

Thank you
Anthony
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

http://www.zend.com gives a nice explanation on compatibilty
EricS
Forum Contributor
Posts: 183
Joined: Thu Jul 11, 2002 12:02 am
Location: Atlanta, Ga

From what I understand

Post by EricS »

From what I understand about PHP5, as long as you don't use the E_STRICT directive, your PHP4 code should work just fine.
Post Reply