Stanislav Malyshev <[EMAIL PROTECTED]> writes: *snip* > TDJ>> that did such a reference assignment: > TDJ>> > TDJ>> $foo = "zonk"; > TDJ>> $bar = "baz"; > TDJ>> > TDJ>> ref_assign($bar, $foo); // $bar =& $foo; > TDJ>> > TDJ>> what has to happen in ref_assign? > > That's problematic, due to the way PHP variables work. The best you can do > is something like this: *snip*
Sorry, I wasn't clear. I mean ref_assign to be a C function, in my extension. -Tim -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php