Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39188 invoked from network); 24 May 2016 05:45:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2016 05:45:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=jesseschalken@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jesseschalken@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.173 as permitted sender) X-PHP-List-Original-Sender: jesseschalken@gmail.com X-Host-Fingerprint: 209.85.213.173 mail-ig0-f173.google.com Received: from [209.85.213.173] ([209.85.213.173:36690] helo=mail-ig0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/10-37212-08AE3475 for ; Tue, 24 May 2016 01:45:36 -0400 Received: by mail-ig0-f173.google.com with SMTP id ww4so46311121igb.1 for ; Mon, 23 May 2016 22:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=s0AVxduqwkCSkzE0FdW8am7I+4jZbYZAKvIZUiBoeCg=; b=RPD7A+dWrYGLpY2BdGfZKOZK46Vq7c8qptzP0XcRUCu5ST793JoDzlbemVL0iZAhNU 6ynkTCRKpv3v7v0hwl+WUAyZpD+/hvcpAhry23xdzIo6Rw5p3ycXPvP8WJNy8i8CyIvV 4UNxOkDn1ksbe5KX0vIngji98I4pyTHGK3N1BqfYjaZxMAK+QB6pJE9xe9EIcx3D76xt eitjwmmlV1p7H7UaL06BIZ4qcaoXBUmLACN1tuiU07UMXyEHPX98O/zESd3Hq7eZi8VE 6a+ljryp1s0LDTgqNR8OabP/jDpM/7nezxL0/N2vCaM1XJZyJB1a1fVCKXBqHP/L5pQI TJLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=s0AVxduqwkCSkzE0FdW8am7I+4jZbYZAKvIZUiBoeCg=; b=A1oHd5vDcHo5hodIl6BAnN+4wHUw0tmYyHZroBJAHBbYmrFDxffbVI7uTSW5Ntishf ZRtrvimnJSPvL+1TbylnLeQGuNIrTcCXxRAuZ4qdElE1kRODsNj2KbIKx86BzKsl9Gmj 4G+uXJIOGO7W31BrizEy9x3oNAhtRkubXjJqhqVfUqiTQlPU6liVGtCdNhMJDkrAJti8 5O6hNpqSMQx1PRIhYRRH+2Q7bnHHdTyf1V+M+0Ys+uNkdgQVCLcQHY+XJ2t/qtq29G0o hhhJq+mBucXEHkxAVILxVgbp0q66lpAkapnij3r8LkmR5XQJhzQzISi+O4RMEQYjX4Iu QI9g== X-Gm-Message-State: AOPr4FWJ1rtE6OttK/PpnIDwNOhXd68wkgSLjPAN2Pcbnot1X++h7m0oKgILg8utHKDR1LvAtsH2Eia0Iu4UWg== MIME-Version: 1.0 X-Received: by 10.50.30.228 with SMTP id v4mr16163012igh.85.1464068733706; Mon, 23 May 2016 22:45:33 -0700 (PDT) Sender: jesseschalken@gmail.com Received: by 10.79.111.208 with HTTP; Mon, 23 May 2016 22:45:33 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 May 2016 15:45:33 +1000 X-Google-Sender-Auth: 9pY0Rxj7XrM9lPD_eny1HUsdS3s Message-ID: To: Dmitry Stogov Cc: internals , Nikita Popov , Bob Weinand , Xinchen Hui Content-Type: multipart/alternative; boundary=047d7ba98440ccc6e105339010e6 Subject: Re: [PHP-DEV] [RFC] Fix inconsistent behavior of $this variable From: me@jesseschalken.com (Jesse Schalken) --047d7ba98440ccc6e105339010e6 Content-Type: text/plain; charset=UTF-8 I'm curious, what is it about $this that makes it special in the first place? Can't it be a normal local variable that happens to already be assigned at the start of a method? On Tue, May 24, 2016 at 6:24 AM, Dmitry Stogov wrote: > Hi internals, > > > Please review the RFC. > > It proposes to fix all known inconsistencies related to handling of > special $this variable. > > > https://wiki.php.net/rfc/this_var > > > Thanks. Dmitry. > --047d7ba98440ccc6e105339010e6--