Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85957 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76768 invoked from network); 26 Apr 2015 20:47:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2015 20:47:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.178 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.213.178 mail-ig0-f178.google.com Received: from [209.85.213.178] ([209.85.213.178:37703] helo=mail-ig0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/00-10323-7EE4D355 for ; Sun, 26 Apr 2015 16:47:35 -0400 Received: by igblo3 with SMTP id lo3so47782465igb.0 for ; Sun, 26 Apr 2015 13:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NodogD4lnc9Bs4vV/Bf2bPZi4rlRERtWRyE7awP8TYA=; b=PM2vz+uhrTcunFLebpk2ZjUc4yG6kj9vtHKU2+dzbTjW8iYplP+UFLkf28rcaIgJrg 7hbnBIQ27Ip42I02CEiQeaUv0vGsouurO7X5GSUAoKk07jDz+anE33Lsf/h0BJMQgWes h6aT2h1xJ6QkZemGJaSiVL0U4Cfb9znsAQWUFipFUyYXR76giGVB97myHOcqjg5qMett p6iAnj5VkCKQ4dGgvFdhUdZJnUosaTK3SHsNYZMjioXbHtwEeiarPB7jZ3wUY0zWpeAk wCeQfihVYwvi9zxemzVKtd78q6X9J2y8h20TMVygd8aXrXN2dQx0MTQjEOZ+ewZ34KU0 PNdg== X-Received: by 10.50.221.98 with SMTP id qd2mr9556625igc.37.1430081252372; Sun, 26 Apr 2015 13:47:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.9.7 with HTTP; Sun, 26 Apr 2015 13:47:12 -0700 (PDT) In-Reply-To: References: Date: Sun, 26 Apr 2015 17:47:12 -0300 Message-ID: To: Joshua Holmer Cc: Nate Abele , internals , Levi Morrison Content-Type: multipart/alternative; boundary=001a11347f200c38080514a6bd18 Subject: Re: [PHP-DEV] Re: [RFC] Reserving More Types in PHP 7 From: marcio.web2@gmail.com (Marcio Almada) --001a11347f200c38080514a6bd18 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, 2015-04-26 17:00 GMT-03:00 Joshua Holmer : > There is the approved RFC at > https://wiki.php.net/rfc/context_sensitive_lexer which is listed as > "pending implementation" which should alleviate these BC breaks > significantly. The linked RFC mentions this one specifically under the > "Impact On Other RFCs" section. > I'm the author of the cited RFC and there is a clear misconception here and in other threads: the "context sensitive lexer - CSL" RFC can prevent BC breaks for classes with members named like `$someClass->string()`, but the RFC doesn't prevent the BC breaks for class names. Even if I manage to pass a sequel CSL RFC that aims to allow semi reserved names for classes we will still have these type names reserved at compile time. In resume, there is no way to allow classes and types with the same name until we have case sensitive identifiers. M=C3=A1rcio --001a11347f200c38080514a6bd18--