pros & cons of php5 vs. php4

admin

Administrator
Staff member
Can anyone tell me what are the main pros&cons of php5 compared to php4?
ThanksA good overview of PHP5's new features can be found here:

<!-- m --><a class="postlink" href="http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/">http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/</a><!-- m -->

I particularly like SimpleXML, which lets me use XML data without sticking pins in a voodoo doll of Tim Bray, and the integrated support for Tidy, which lets me take user-generated HTML and clean it before it does anything ugly.

If there's a downside, it's the same downside that comes with any major rewrite: PHP5 is not as thoroughly tested as PHP4, which has gone through many cycles of bugfixing.Also covered in the manual (<!-- m --><a class="postlink" href="http://www.php.net/manual/en/migration5.php">http://www.php.net/manual/en/migration5.php</a><!-- m -->).well, if you're interested in pursuing XML, SOAP, web services and the like, you'll really be much better off with PHP 5...




=======================================
BadBlue - <!-- m --><a class="postlink" href="http://badblue.com">http://badblue.com</a><!-- m -->
Easy, tiny web server for PHP & Windows
=======================================
 
Back
Top