Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99768 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66566 invoked from network); 5 Jul 2017 16:09:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2017 16:09:16 -0000 Authentication-Results: pb1.pair.com header.from=lauri.kentta@gmail.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=lauri.kentta@gmail.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain gmail.com does not designate 178.62.210.197 as permitted sender) X-PHP-List-Original-Sender: lauri.kentta@gmail.com X-Host-Fingerprint: 178.62.210.197 k-piste.fi Received: from [178.62.210.197] ([178.62.210.197:52498] helo=k-piste.fi) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/0F-15131-A2F0D595 for ; Wed, 05 Jul 2017 12:09:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=k-piste.fi; s=2017-04-09; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wthB/8D79HRwiD/ByYVMUR0DoD/l0Fg8HowNyN80E7Q=; b=quN6O2ttiPWbi3ysureqS6/rV1 Dq9Cdpj2GyG60vBRxChE/1nI9yx7xlMXblMNHC6phTk46GTXLj/jqi2Zyvjpish7yAXE3VojMX5C0 lnF6yfxfGXo2UBgp47/fMBIVJYQKcxkAuhoWJQc5ma04ssJQ/2BirJWgNey3682bgdt9pqLi7+ua2 hx7Ut6Gx720s6DmD+3ampsFNWMnKoLfTO8YJ/UFKex/KlsEEHUxxk1JbfD0ODoDn9uShS3clQ+JAj An6gYpYDDD4uQufqku4McPs6UaNS2PgZMSyK4pDZK/mL5krQs9I6JeKsSIlwwAvjF8F2y/dNc3exz 9ShSeqQA==; Received: from localhost.localdomain ([::1] helo=k-piste.fi) by k-piste.fi with esmtp (Exim 4.89) (envelope-from ) id 1dSmrX-0006IN-Th; Wed, 05 Jul 2017 19:09:11 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 05 Jul 2017 19:09:11 +0300 To: Rowan Collins Cc: internals@lists.php.net In-Reply-To: <3ED2595B-1D73-42E3-8236-56565E73DC03@gmail.com> References: <827b77ce-f2b7-930a-34cb-ce11ebc2d531@php.net> <679F251C-FFDA-4D9A-A0C2-89AA767A2402@gmail.com> <1499257709.19635.83.camel@schlueters.de> <3ED2595B-1D73-42E3-8236-56565E73DC03@gmail.com> Message-ID: <0e951dd0d84975bac8cb10ca1b7d4ec2@gmail.com> X-Sender: lauri.kentta@gmail.com User-Agent: Roundcube Webmail/1.3.0 X-Spam-Score: 0 Subject: Re: [PHP-DEV] OBJECT_OPERATOR vs. DOUBLE_COLON From: lauri.kentta@gmail.com (=?UTF-8?Q?Lauri_Kentt=C3=A4?=) On 2017-07-05 18:24, Rowan Collins wrote: > On 5 July 2017 13:28:29 BST, "Johannes Schlüter" > wrote: >> On Mi, 2017-07-05 at 11:24 +0100, Rowan Collins wrote: >>> Firstly, I'm not sure where you got the names you've put in >>> ALL_CAPS  from, but they're not the official names of the operators >>> anywhere I've seen. The double-colon is technically the "Scope >>> Resolution Operator", or internally T_PAAMAYIM_NEKUDOTAYIM (which >>> does mean double-colon). It's described in the manual here:  http://p >>> hp.net/manual/en/language.oop5.paamayim-nekudotayim.php >>> >> >> We use T_DOUBLE_COLON in reflection: >> >> ext/tokenizer/tokenizer_data.c: REGISTER_LONG_CONSTANT("T_DOUBLE >> _COLON", T_PAAMAYIM_NEKUDOTAYIM, CONST_CS | CONST_PERSISTENT); >> ext/tokenizer/tokenizer_data.c: case >> T_PAAMAYIM_NEKUDOTAYIM: return "T_DOUBLE_COLON"; >> >> and I believe it appears/appeared in other places, too. > > Ah, OK, I stand corrected. > > Regards, I'm just wondering if T_PAAMAYIM_NEKUDOTAYIM could finally be changed to T_DOUBLE_COLON in, say, PHP 8? Sorry about hijacking this. :) -- Lauri Kenttä