Ben wrote:
Thanks a lot for your responses guys. Unfortunately it still isn't working for me. I've tried both :

    $ob->prop = &$this
and    $ob->prop &= $this (just in case)

Neither produce a "PHP is OK".

I'm using version 4.2.2 btw. (If ONLY I was on 5)

Thanks again,
Ben

Greg wrote:

class Test {
    function setMe(&$obj)
    {
        $ob->prop = &$this; // note another &

this line should be $obj->prop = &$this, just a typo

Greg

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to