Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7534 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22101 invoked by uid 1010); 4 Feb 2004 13:17:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22047 invoked from network); 4 Feb 2004 13:17:18 -0000 Received: from unknown (HELO jan.prima.de) (62.72.86.57) by pb1.pair.com with SMTP; 4 Feb 2004 13:17:18 -0000 Received: from [192.168.8.18] (pD9E51B69.dip.t-dialin.net [::ffff:217.229.27.105]) (AUTH: LOGIN jan) by jan.prima.de with esmtp; Wed, 04 Feb 2004 13:17:15 +0000 Mime-Version: 1.0 (Apple Message framework v612) Content-Transfer-Encoding: 7bit Message-ID: <5FD6AF10-5714-11D8-9193-000A959DD3A4@prima.de> Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Date: Wed, 4 Feb 2004 14:16:42 +0100 X-Mailer: Apple Mail (2.612) Subject: Assigning to $this From: jan@prima.de (Jan Lehnardt) 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 --