Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93458 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10573 invoked from network); 23 May 2016 20:46:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2016 20:46:39 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.179 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.161.179 mail-yw0-f179.google.com Received: from [209.85.161.179] ([209.85.161.179:35895] helo=mail-yw0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/3D-14293-E2C63475 for ; Mon, 23 May 2016 16:46:38 -0400 Received: by mail-yw0-f179.google.com with SMTP id x189so182733003ywe.3 for ; Mon, 23 May 2016 13:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=yT8/FXX9Y7UKOOOZhNvbsHgOcOFXAciirqZy0M8amqA=; b=JHlmL11P5MBjY8LLQhMpAxFNguAEMva0R9LNcqP4SEZ/pKIm/zKhiCbeUn8JhYuPJF GEz4KNSZaAD+P4aX+5zQS0P88PP02331Ly8CRHek+XdZd57xzLAdff70fBBlOY/iJv02 uH724jJUZTSBFHZOzrPPjf01+iBWZbJsC9v8nKJ38pyMszknzTt0BYZL/qpp9eBiisO1 5xlSve/8gkr4DcuuK1XUJ2MK7S1mcC3bluNufbUa5k1YdjbiBlDi+HHP8alb1u4Towmx XAWJ03pAV0N2bkgQcYowDIkei9CABi8Tdeb7+XvOWWpUCcFOx57aVaz3PXVlZ75opshZ 9Vrg== 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:date :message-id:subject:from:to:cc; bh=yT8/FXX9Y7UKOOOZhNvbsHgOcOFXAciirqZy0M8amqA=; b=ScXdZiqfWre+/GS2weqwouDT9bdnCjhzLWhDuay1cZXlNgdH9gPP7U3DMEkT21M5OC ShJIHpEJ3SitJlPMxhls8XRbu3V+fekFupie3u1AAUUuUtanLdgmOryPfDMchXxZddZv RIrFKJ0Rv11qwzvxbwEGag8vD1nIwjcb9Gppkl91vsC3kx6IIeAZVH1Al7wgYykoyxt5 mb/udVywglKcefxfoC3isFyyh+wBsQS3wyhz8osVPLGp98ICQ6Hrp2G0GUZSWQpP9Cn2 pg2khA5OoQs2Qjp2EPniBYdzE98en6lIEzidf5VBb5SG3cL0ybTWitJ5mjTdyWGfK4yv OPag== X-Gm-Message-State: ALyK8tLvh9iIyobB2APqmsTs29QQtDal3KacDjDSjm948jsEihmyGU0uEDFjoJdNLBiA4GxU1Y1wbJHlyOR9Lg== MIME-Version: 1.0 X-Received: by 10.129.3.17 with SMTP id 17mr532337ywd.288.1464036395777; Mon, 23 May 2016 13:46:35 -0700 (PDT) Received: by 10.13.239.3 with HTTP; Mon, 23 May 2016 13:46:35 -0700 (PDT) In-Reply-To: References: Date: Mon, 23 May 2016 22:46:35 +0200 Message-ID: To: Dmitry Stogov Cc: internals , Nikita Popov , Bob Weinand , Xinchen Hui Content-Type: multipart/alternative; boundary=001a1142d7be4f04520533888947 Subject: Re: [PHP-DEV] [RFC] Fix inconsistent behavior of $this variable From: nikita.ppv@gmail.com (Nikita Popov) --001a1142d7be4f04520533888947 Content-Type: text/plain; charset=UTF-8 On Mon, May 23, 2016 at 10:24 PM, 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. > How does this interact with things like extract() or get_defined_vars()? The"static function __call()" case looks like a bug... Shouldn't this just be a compiler error in the first place? Nikita --001a1142d7be4f04520533888947--