Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7535 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21392 invoked by uid 1010); 4 Feb 2004 13:57:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21355 invoked from network); 4 Feb 2004 13:57:17 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 4 Feb 2004 13:57:17 -0000 Received: (qmail 2701 invoked from network); 4 Feb 2004 13:57:15 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 4 Feb 2004 13:57:15 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20040204154543.06526140@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 04 Feb 2004 15:57:10 +0200 To: Jan Lehnardt Cc: internals@lists.php.net In-Reply-To: <5FD6AF10-5714-11D8-9193-000A959DD3A4@prima.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Assigning to $this From: zeev@zend.com (Zeev Suraski) References: <5FD6AF10-5714-11D8-9193-000A959DD3A4@prima.de> 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