Can anyone tell me what are the main pros&cons of php5 compared to php4?
Thanks
pros & cons of php5 vs. php4
5 days later
A good overview of PHP5's new features can be found here:
http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/
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.
11 days later
Also covered in the manual.
15 days later
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 - http://badblue.com