Assigning to $this

From: Date: Wed, 04 Feb 2004 13:16:42 +0000
Subject: Assigning to $this
Groups: php.internals 
Request: Send a blank email to internals+get-7534@lists.php.net to get a copy of this message
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 --

« previous php.internals (#7534) next »