Re: [PHP-DEV] Passing-by-reference From: André Langhorst (waldschrott <email protected>)
Date: 11/23/00

> 7) foo($obj->method());

unfortunately this still does not work...

<?php
function &bar() {
        $i=1;
        return $i; }
                
class testclass {
        function testclass() {
                $this->foo(bar()); }

        function foo(&$bar) { }
                 }
?>
andré

-- 
· André Langhorst       · t: +49 571 3201801 ·
· waldschrott <email protected>   · m: +49 173 9558736 ·
· PHP Quality Assurance · http://qa.php.net  ·

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>