Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57793 invoked from network); 21 Feb 2015 01:22:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2015 01:22:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.47 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.47 mail-qg0-f47.google.com Received: from [209.85.192.47] ([209.85.192.47:53729] helo=mail-qg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 56/32-45394-0FDD7E45 for ; Fri, 20 Feb 2015 20:22:57 -0500 Received: by mail-qg0-f47.google.com with SMTP id q107so17062454qgd.6 for ; Fri, 20 Feb 2015 17:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=hD+nKwWLRloU171Qa8u1l/dY4ok51fai114tqGHi4TA=; b=kH1Z4m2XVmHjXKwsq7BrIA2v32AAjKWcs1AsFwIpBC9xBdGCuieyUu1onqJ2IgXYhB m/YHdt+31CpcyyaabsnvBj8pDuAKm3dKRWbICcf2UwELQRIRIzrlCxd/c8X3dl4WdlFu Kzpc57eeLspHHHaB8HIbG4SdQoo5UjtHS5HjZ7xVUbAOK0C+U25QLtm1n1Jawpo8zGkx 6tXvFE+YfzlYfh3Pm7mt5htJBIP/b/H3No9Y0DqVKK6NetDuCk03dkgbMQGrCZuCao91 lMQbXuOGDPKFF5sIT3Vaxk7F+dffvuYhBoa9xyvcUkuLhej6fpgr9p10dLGWKJ495mlN hUkQ== X-Received: by 10.140.146.6 with SMTP id 6mr1280014qhs.44.1424481774443; Fri, 20 Feb 2015 17:22:54 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Fri, 20 Feb 2015 17:22:14 -0800 (PST) In-Reply-To: References: Date: Sat, 21 Feb 2015 10:22:14 +0900 X-Google-Sender-Auth: Uj33vcuP7dMrColTe5QbhMeAD5U Message-ID: To: Niklas Keller Cc: Sara Golemon , PHP internals Content-Type: multipart/alternative; boundary=001a1135267227a2cd050f8f0282 Subject: Re: [PHP-DEV] [RFC] Reserve EVEN MORE types for PHP7 From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1135267227a2cd050f8f0282 Content-Type: text/plain; charset=UTF-8 Hi all, On Sat, Feb 21, 2015 at 9:58 AM, Niklas Keller wrote: > 2015-02-21 1:23 GMT+01:00 Yasuo Ohgaki : > > > > Hi all, > > > > On Sat, Feb 21, 2015 at 2:55 AM, Sara Golemon wrote: > > > > > Announcing this in its own thread: > > > https://wiki.php.net/rfc/reserve_even_more_types_in_php_7 > > > > > > This RFC acts as an addition to Levi's > > > https://wiki.php.net/rfc/reserve_more_types_in_php_7 by creating a > > > forum for voting on additional types not included in his RFC: > > > resource, object, scalar, mixed, numeric > > > > > > > We should have reserved these. IMHO. > > Yes, it breaks. However, sooner is better. > > > > People don't just use PHP7. We may try to promote these > > changes now. We still have time. > > > > Regards, > > > > -- > > Yasuo Ohgaki > > yohgaki@ohgaki.net > > > Resource is used quite often: > > https://github.com/search?l=php&q=class+Resource&ref=searchresults&type=Code&utf8=%E2%9C%93 > Unfortunately, GitHub doesn't allow a search for "class Resource " for > better results. > > Google knows about 600 occurrences: > https://www.google.de/?#q=site:github.com+%22class+resource%22+php > One more popular example usage: > > https://github.com/phacility/phabricator/blob/master/externals/balanced-php/src/Balanced/Resource.php > > Just to throw some numbers in. We may buy some time. We may announce it by PHP 7.0. (E_STRICT perhaps?) Introduce new reserved words in PHP 7.X. (E_ERROR/E_COMPILE_ERROR whichever is appropriate) Sooner announcement is better, then introduce. It would work better. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1135267227a2cd050f8f0282--