Tsai on PHP 5 Object References

Michael Tsai writes about object references in the just-released PHP 5:

The bad news is that PHP 5 is in some sense less consistent than before. There are now three different kinds of assignment (copy, hardlink, and reference copy), and scalars and objects are now treated differently. The good news is that, if I understand this correctly, you can banish & from all your PHP 5 code and then use it like Java.

Friday, 16 July 2004