Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85106 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50741 invoked from network); 16 Mar 2015 23:37:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 23:37:03 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.160.180 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.160.180 mail-yk0-f180.google.com Received: from [209.85.160.180] ([209.85.160.180:34580] helo=mail-yk0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/42-34940-F1967055 for ; Mon, 16 Mar 2015 18:37:03 -0500 Received: by ykfc206 with SMTP id c206so17794793ykf.1 for ; Mon, 16 Mar 2015 16:37:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hi/1sFiIPouN/H1XwWAphjAJbNsa34a4XWyNjg7IOYM=; b=MatZc9QFCzsGcylXGSvNEHhqdJQuC+gao/uek82YoB2XAqLO6McU+2Mn8fD2f5aOYp OMYkUGQGT2OHwHWcp7eERJBzUWWrOQZ8f37j8SpAypwb1VFab5A/jIvRTNmeauRX+fD0 +ZEG4nXInJuqAXcEGIRTBixhHjY6aVoyY1IBAtL+GxSEzLRgY9vcyqO5DkKSo0r4kThr qrrjxY4VUqOBXtpdO4U2CB+VBLNb4cGvPFtppSkMrn1coHPgBxUPzTWd2uQVPI5wiZVg AiKd6vIR2aXeuxupMqYUm+ZFEHd4CAw1F4bc30frK28Q79X5q4ggafXjHhqfoaadKfQ5 7JBQ== X-Gm-Message-State: ALoCoQl4G3pm4/6yYJBeYqROmCbM9o1e9IYDT5jLC7skDnBVcv7ZqC2t40mgPp+WuEBujgWEQSeh MIME-Version: 1.0 X-Received: by 10.236.206.13 with SMTP id k13mr63219856yho.51.1426549020664; Mon, 16 Mar 2015 16:37:00 -0700 (PDT) Received: by 10.170.71.86 with HTTP; Mon, 16 Mar 2015 16:37:00 -0700 (PDT) X-Originating-IP: [2.99.229.112] In-Reply-To: References: Date: Mon, 16 Mar 2015 23:37:00 +0000 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Reserve even more type hints From: danack@basereality.com (Dan Ackroyd) On 16 March 2015 at 06:44, Sara Golemon wrote: > The voting period for the "Even More" type hints reservation RFC is now open. > Hi Sara, There's been a little bit of traffic on the list in the past few days; I don't think your RFC has received enough cogent discussion. In particular the keywords 'Resource' and 'mixed' seem to have limited need to be reserved. I don't believe there has been any suggestion that either of these would actually be used as types for PHP 7.x. So making them be unusable seems to be a large BC hit for no gain for people who currently have classes that use them It's possible that people are voting yes to reserve these two words, without fully considering whether they should be reserved or not. I can see that all of 'object', 'scalar', and 'numeric' have been proposed as part of future improvements to PHP's type system. Can anyone please make a strong argument for why 'resource' and 'mixed' should be reserved, if we currently have no plans to use them? cheers Dan