I'm trying to do some extension programming, and I'm pretty confused
by the whole zval thing.  In particular, references are a little
mysterious.  If I have

        $foo = "zonk";
        $bar =& $foo;

in PHP, what actually happens?  Specifically, if I wanted a function
that did such a reference assignment:

        $foo = "zonk";
        $bar = "baz";

        ref_assign($bar, $foo); // $bar =& $foo;

what has to happen in ref_assign?

Thanks,
Tim


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to