Hi Ken,

> As we all know, this copies an object in PHP:
>   $obj2 = $obj1
> Preferable a way to fix PHP not to copy the object, but the reference.

this will do want you want:
$obj2 = &$obj1;

--
Jimmy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Always keep a cool head and a warm heart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to