Re: Passing-by-reference

From: Date: Fri, 24 Nov 2000 01:35:11 +0000
Subject: Re: Passing-by-reference
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-39059@lists.php.net to get a copy of this message
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@php.net · m: +49 173 9558736 · · PHP Quality Assurance · http://qa.php.net ·

« previous php.dev (#39059) next »