[thelist] PHP5 or PHP4?

Rob Agar robagar at westnet.com.au
Wed Mar 1 21:01:13 CST 2006

Peter Chen wrote:
> In deciding to take the PHP plunge, I'm curious, do most developers out
> there still use v4 or v5? And is v5 backwards compatible w/ v4? Thanks
> in advance for any feedback out there.

I greatly prefer v5, for the OO support others have mentioned.  The only 
backwards compatibility thing that's bitten me is this:

class A

a = new A();
b = a;

in php 5 a and b point to the same object, as in java and c#, but in 
php4 b is a *copy* of a.


More information about the thelist mailing list