Re: [PHP-LANG] why isn`t $this a reference?

[email protected] (Andi Gutmans) Tue, 21 May 2002 18:39:25 +0300
Newsgroups php.lang
Message-ID <[email protected]>
At 16:58 21/05/2002 +0200, robert janeczek wrote:
>can someone tell me why isn`t $this a reference to object? i use quite much
>passing $this beetween objects and i realized i`m operating on copies. now i
>wonder what was the reason of creating $this as regular variable.

This will be fixed in Engine 2. For now pass $this by reference.

Andi