Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86346 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28780 invoked from network); 22 May 2015 00:30:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2015 00:30:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.52 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.52 mail-qg0-f52.google.com Received: from [209.85.192.52] ([209.85.192.52:33816] helo=mail-qg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/D1-14563-C887E555 for ; Thu, 21 May 2015 20:30:05 -0400 Received: by qgez61 with SMTP id z61so1680832qge.1 for ; Thu, 21 May 2015 17:30:01 -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:content-type; bh=PfYr3hHD6OyNJ4obhFf8Z1lWBUE2P+0+wfhGUPOSZYY=; b=Naktlu3sbD1bxXhxb2WPg61U74ovvNaFy7wkz3nkaSAtnI/Hc7TzlOoyIVZ/PwMtnL jXyx7VS/L9H/T2Q8CxvSFtgjRxGUmYYoYbx/Q+WZ7n6z4QloQLhyTCAvQLFjvsBJQJ5Y od2MWv3YT5kY29QeFtOUVAThKOiVHq8tViQbdkBPu3aHe18iTmKK+Q/sPOXvzl4Q+ZNj l3hl3mR+2kSa684OP72HlQl0B85ciz1bkCA07Q/1+21Qbq06GT5Z2l0J0vXv0tl3ytyT vPoHwqVo9qP83P9AGmCYsaCIRYf8O5Z822eM6do37AIAOn5v5dEZyeOcwi4DaAYyV1pS GONg== MIME-Version: 1.0 X-Received: by 10.140.33.107 with SMTP id i98mr7508954qgi.4.1432254601067; Thu, 21 May 2015 17:30:01 -0700 (PDT) Received: by 10.96.127.166 with HTTP; Thu, 21 May 2015 17:30:00 -0700 (PDT) Received: by 10.96.127.166 with HTTP; Thu, 21 May 2015 17:30:00 -0700 (PDT) In-Reply-To: <555E762F.6060704@gmail.com> References: <555E762F.6060704@gmail.com> Date: Fri, 22 May 2015 07:30:00 +0700 Message-ID: To: Stas Malyshev Cc: Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=001a113ac88cb9adf80516a0c25a Subject: Re: [PHP-DEV] Soft-reserve "void" class name From: pierre.php@gmail.com (Pierre Joye) --001a113ac88cb9adf80516a0c25a Content-Type: text/plain; charset=UTF-8 On May 22, 2015 7:20 AM, "Stanislav Malyshev" wrote: > > Hi! > > > I'd like to add "void" to this list, so we have the option to introduce a > > void return type in PHP 7.x. I've seen some disagreement as to whether this > > I think this type makes no sense in PHP, but I don't object to having > note in the docs for people not to name their classes "void" (not that > there's any reason to do it anyway...). I strongly object to introducing > any changes in the code though - warnings, etc. The problem I see with any kind of additional soft reserved words is that it opens the door to actually reserve them in 7.x. And this is a way more bigger problem. If anything, I would rather extend or agree on a BC definitions RFC to avoid such possible breaks in x.y+1 releases. Cheers, Pierre --001a113ac88cb9adf80516a0c25a--