> b) A function which returned a variable by reference couldn't be returned 
> by reference. I think this one is probably OK to code.

Do you mean a referenced variable returned by a function couldn't be
returned as a reference by its caller? That is to say,

function &foo() {
        return $a;
}

function &bar() {
        return foo();
}

$a = &bar();

Moriyoshi

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

Reply via email to