Das Handbuch hilft schonmal weiter
, zumindest wenn man auch den letzten Kommentar von aib liest.
Zitat:
Note that the "new" operator no longer returns a copy of the constructed object, but the object itself. This behavior may be as of PHP 5.x.
This means that
$foo = new class();
and
$foo =& new class();
are equivalent now, and you don't have to worry about the problems stated on this page.