Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79249 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47865 invoked from network); 27 Nov 2014 20:05:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2014 20:05:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.182 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.182 mail-ob0-f182.google.com Received: from [209.85.214.182] ([209.85.214.182:37875] helo=mail-ob0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/A9-27910-FE387745 for ; Thu, 27 Nov 2014 15:05:03 -0500 Received: by mail-ob0-f182.google.com with SMTP id m8so4166152obr.27 for ; Thu, 27 Nov 2014 12:05:01 -0800 (PST) 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:content-type; bh=7Z4huK3Xt6feugFbq7HmHWs1kMyRq4MSusyCX08FFxc=; b=gh7dtcAN3+7328mV+Y1UZ7+Ys9sozVi/etcvmMXLrsC1JbAAYICavyj+VDLoy3fG29 iOGuNF5UeAaEj0kqF4QV6eMSKuOCAN7TdN1dukKhXDsIuoo5ii0jBz0X702Y50CI16T5 BvTmsd7UZorFxiIoyeWJ2YN/bLI1Z7H75WU5uDKiGOg9tuRO3h2a0TaK1hfqQ9aOcoRG Rf4hY+AuGuFvEip13oJUoIWXH+JLeQq2Gx5MlhO9hYqU4p0Gl1C2Nbhva5Yv69FeSNpH QgwTDOYBdwBLNModtk58210eaDrXGsdRoewYSeABWQe0c0YTabFXQquZJ/uqUE6ryKDl D/QQ== MIME-Version: 1.0 X-Received: by 10.202.45.198 with SMTP id t189mr22376426oit.68.1417118700988; Thu, 27 Nov 2014 12:05:00 -0800 (PST) Sender: morrison.levi@gmail.com Received: by 10.76.89.237 with HTTP; Thu, 27 Nov 2014 12:05:00 -0800 (PST) In-Reply-To: References: Date: Thu, 27 Nov 2014 13:05:00 -0700 X-Google-Sender-Auth: cplUPMZQ7wKr_QKPPEUUx2PxL_E Message-ID: To: Dmitry Stogov Cc: Nikita Popov , Xinchen Hui , Matteo Beccati , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] EX(scope) removing From: levim@php.net (Levi Morrison) On Thu, Nov 27, 2014 at 12:59 PM, Levi Morrison wrote: >> - try to merge EX(called_scope) and EX(This). Only one of them matters. > > We could use the void *ptr in a zval (or add it to the available types > in the union) and add another flag for zval type. Anyone have an > objection with that? I just noticed we already support putting zend_class_entry* in zvals; I'm not exactly sure what the internal representation of This is off the top of my head, though; would they be compatible?