Good idea. I added a fatal error. The reason is that there's pretty much no chance that someone was doing this and his script will continue working. This is definitely something which needs to be fixed by the app developer.

Andi

At 15:16 04/02/2004, Jan Lehnardt wrote:
Hi,
I was just wondering. An assignment to $this is not longer possible
in PHP 5. This was agreed upon and everything is fine with that.
However, when trying to assign to $this in PHP 5, this assignment
is silently ignored. I thought it might be useful, or even needed
to issue a notice there. I first thought this was a candidate for
E_STRICT, but now I think it should notice the user at a lower level
already.

Any opinions?

Jan
--

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to