Old 12-29-2005   #1 (permalink)
Registered User
 
Join Date: Dec 2005
Posts: 5

Pro's and Con's to Upgrading PHP

OK so, I currently use php 4, and since I'm only an intermidiate php coder, could someone explain to me why I should upgrade to php 5? I have seen some arcticles saying that php 5 complicates things, and causes some php 4 scripts to malfunction, but I havce also heard php4 ccan pose a threat to vulnerability. Can somebody help me out?
pipersdragon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-30-2005   #2 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
after having written my reply twice, to have my browser crash before i can submit it, here goes again:

php5 has some added features and various reprogrammed (backend) functionality that probably won't come in useful at all unless you are an advanced programmer.

Quote:
Originally Posted by php.net
PHP 5 and the integrated Zend Engine 2 have greatly improved PHP's performance and capabilities, but great care has been taken to break as little existing code as possible. So migrating your code from PHP 4 to 5 should be very easy. Most existing PHP 4 code should be ready to run without changes, but you should still know about the few differences and take care to test your code before switching versions in production environments.
there should be no reason to upgrade from php4 to php5 unless you want to explore these features, as php5 does complicate things for the reasons you discussed.

please refer to these pages:
migrating from php4 to php5
classes in php5
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 04:56 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT