On Fri, 2002-12-06 at 22:11, Stig S. Bakken wrote:
It won't be different in ZE2. This is not a bug though, but a tricky
design issue. The problem is figuring out at runtime when to set $this
or not in a method. What most people would probably find intuitive, is
that $this was set only in
It won't be different in ZE2. This is not a bug though, but a tricky
design issue. The problem is figuring out at runtime when to set $this
or not in a method. What most people would probably find intuitive, is
that $this was set only in methods called in the object, but this would
require
On Wed, 2002-12-04 at 01:32, Balazs Nagy wrote:
On Tue, 2002-12-03 at 21:53, Ivan Ristic wrote:
Balazs Nagy wrote:
Hi,
$this stays defined when an instantatiated member function calls a
non-instantiated member function.
Correct. I actually find it quite interesting. :)
Why do the (cheap) checks implemented in debug_backtrace not work for
this?
George
On Friday, December 6, 2002, at 04:11 PM, Stig S. Bakken wrote:
It won't be different in ZE2. This is not a bug though, but a tricky
design issue. The problem is figuring out at runtime when to set $this
or
Balazs Nagy wrote:
Hi,
$this stays defined when an instantatiated member function calls a
non-instantiated member function.
Correct. I actually find it quite interesting. :)
It can be useful at times, I have used it in my
libraries as a feature.
There is an interesting article on the
I think issue is/will be adressed in ZendEngine2 but I could
be wrong. I suggest inquiring at the engine2 list.
On Tue, Dec 03, 2002 at 08:53:25PM +, Ivan Ristic wrote :
Balazs Nagy wrote:
Hi,
$this stays defined when an instantatiated member function calls a
non-instantiated
On Tue, 2002-12-03 at 21:53, Ivan Ristic wrote:
Balazs Nagy wrote:
Hi,
$this stays defined when an instantatiated member function calls a
non-instantiated member function.
Correct. I actually find it quite interesting. :)
It can be useful at times, I have used it in my
$this stays defined when an instantatiated member function calls a
non-instantiated member function.
Correct. I actually find it quite interesting. :)
It can be useful at times, I have used it in my
libraries as a feature.
There is an interesting article on the subject: