Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93464 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29369 invoked from network); 24 May 2016 02:30:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2016 02:30:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.223.178 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.223.178 mail-io0-f178.google.com Received: from [209.85.223.178] ([209.85.223.178:36296] helo=mail-io0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/AF-14293-2BCB3475 for ; Mon, 23 May 2016 22:30:11 -0400 Received: by mail-io0-f178.google.com with SMTP id f8so3907697ioe.3 for ; Mon, 23 May 2016 19:30:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zODrm4T8ZIN49fngtzXzvvkEipEAjqaBzgJbzMoyULU=; b=OcyvAPLo14Kr1AYEifJgFpT1O0jUPviBtWgbEerG3q76E1gMfElZffLKxPRTXTiTFJ MpsbIE8afUZb+BD+eBqK+tjJ5iUfUSuPOtI1phFLYENLJ9uThnkFhVgVxXpIJ7NDtiGW QkZSX8/p/wrgz7JV/ZhIM8TSZmmBGI2xMm23aDZF8koNPABOSjSgxxChf+eF5z7iuPF+ KzWqdxR9REzG7dFmrK69FuT6qho1qNiLYZwbkO9d53DE2qrdaHzTtlTP8/vzKmwP3LAH eh2UPwjgrvvJvqbq9kFcKKmDNcbX07+cgk0iJnD0MMuYBnjyEeLRwlhw/XqytuHPBVNi KHrg== X-Gm-Message-State: AOPr4FWit61C1Kww1lwEkaMr4OSDPs8hmB+uU3x3BubEIg1OxtBubsFWkQLzRVG2bUWbPT1N X-Received: by 10.107.24.6 with SMTP id 6mr16674707ioy.195.1464057007663; Mon, 23 May 2016 19:30:07 -0700 (PDT) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com. [209.85.213.178]) by smtp.gmail.com with ESMTPSA id n2sm4789709itc.13.2016.05.23.19.30.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 May 2016 19:30:06 -0700 (PDT) Received: by mail-ig0-f178.google.com with SMTP id bi2so44695115igb.0 for ; Mon, 23 May 2016 19:30:06 -0700 (PDT) X-Received: by 10.50.160.35 with SMTP id xh3mr15634583igb.95.1464057005904; Mon, 23 May 2016 19:30:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.103.67 with HTTP; Mon, 23 May 2016 19:29:46 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 May 2016 10:29:46 +0800 X-Gmail-Original-Message-ID: Message-ID: To: Dmitry Stogov Cc: internals , Nikita Popov , Bob Weinand Content-Type: multipart/alternative; boundary=001a11340bd4c4dd8805338d5564 Subject: Re: [PHP-DEV] [RFC] Fix inconsistent behavior of $this variable From: laruence@php.net (Xinchen Hui) --001a11340bd4c4dd8805338d5564 Content-Type: text/plain; charset=UTF-8 Hey: On Tue, May 24, 2016 at 4: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. > in section static this, actually, the codes doesn't work in 7.0 neither. it will result in fatal error: PHP Fatal error: Cannot re-assign $this thanks > > https://wiki.php.net/rfc/this_var > > > Thanks. Dmitry. > -- Xinchen Hui @Laruence http://www.laruence.com/ --001a11340bd4c4dd8805338d5564--