[thelist] PHP5 or PHP4?

sbeam sbeam at onsetcorps.net
Wed Mar 1 19:11:40 CST 2006

On Wednesday 01 March 2006 11:47 am, Peter Chen wrote:
> And is v5 backwards compatible w/ v4?

the only major area of incompatibility I've found is in XML/DOM 
handling. PHP5 does a much much better job of this, with a standard 
built-in DOM object as well as the convenient SimpleXML API. But it 
doesn't do PHP4's dom_xml, which has been retired (there is an 
extension that will do dom_xml in PHP5, but its not recommended)

But if your existing PHP4 code is not doing anything with dom_xml then 
it should run just fine under PHP5. There is however a (fairly short) 
list of known incompatibles 
<http://us3.php.net/manual/en/migration5.incompatible.php> but nothing 
that should require a lot of rewriting.


# S Beam - Web App Dev Servs
# http://www.onsetcorps.net/

More information about the thelist mailing list