Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50112 invoked from network); 19 May 2015 15:28:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 May 2015 15:28:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.178 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:33783] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/A9-13816-5A65B555 for ; Tue, 19 May 2015 11:28:37 -0400 Received: by wicmx19 with SMTP id mx19so121283140wic.0 for ; Tue, 19 May 2015 08:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=763tUMLQCBaPOxsUsIow5aHCJNHrSZThyQN2aWBmllg=; b=UO5nDdflWD7V8ir9pHrX44jsqpQt4OwKen7OeBLbjOT9hgefLLqgAGbqRUEWT5Bx9t A9jF1CnaPZHBCuGlf1Uw6T0jMyftxWrxxdeMrnwApXEdFpIYLMICWoMnaD5Ja12ISDmc /gWu9Z42nFdlvvs9l+bK93GSByEAYiHXlzgwtYUZupvRP2CXyjwFyEqPrPsVTxbsdHRE 9iNZlDifaNBH98VLVsZDG731iweCYGckc/RGm5kiVd5kFkcpe/lNjVJ8pYeZe33JPGFv LCRGAL+n/n23CN82pIyHok22Bxy+nVBph1ywpPow71emu5Xxfb1FuHkqtmcyHUd7L9P9 t+Hg== MIME-Version: 1.0 X-Received: by 10.180.104.197 with SMTP id gg5mr33184621wib.27.1432049314474; Tue, 19 May 2015 08:28:34 -0700 (PDT) Received: by 10.27.86.160 with HTTP; Tue, 19 May 2015 08:28:34 -0700 (PDT) Date: Tue, 19 May 2015 17:28:34 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=f46d041825bcb0ada6051670f6a4 Subject: Soft-reserve "void" class name From: nikita.ppv@gmail.com (Nikita Popov) --f46d041825bcb0ada6051670f6a4 Content-Type: text/plain; charset=UTF-8 Hi internals! For PHP 7 we soft-reserved a number of class names [1] like "numeric", so that we have the ability to introduce them as typehints in a 7.x release. "Soft" here means that we only document these names as being reserved and don't throw an error when they're used. 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 should be called "void" or "null" - this discussion should be held when an RFC comes up, however we need to keep both options open until then. (Currently only "null" is reserved.) If people think that this requires a vote, I'll open one. Thanks, Nikita [1] https://wiki.php.net/rfc/reserve_even_more_types_in_php_7 --f46d041825bcb0ada6051670f6a4--