Re: [PHP-DEV] Passing-by-reference From: Andi Gutmans (andi <email protected>)
Date: 11/24/00

I haven't commited the patch which fixes it yet :)
I wanted to get input before I do so.

Andi

At 02:35 AM 11/24/00 +0100, André Langhorst wrote:
>>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 ·

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- 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>