Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83367 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52346 invoked from network); 21 Feb 2015 00:58:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2015 00:58:19 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.220 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.220 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.220] ([81.169.146.220:63899] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/11-45394-828D7E45 for ; Fri, 20 Feb 2015 19:58:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1424480293; l=1260; s=domk; d=kelunik.com; h=Content-Type:Cc:To:From:Subject:Date:References:In-Reply-To: MIME-Version; bh=bUo6lYawOoRT1MU8mMzAkPLbh1nP6YUMbBM7q1Wo4r8=; b=a3EYmB8mHQHBiy+DAXgX/y70tSvBoDyHlmeOJ54NIhQviDl7f8gkLYOzPW3u5CofTb+ 9n99mu4b0C2ozB9wSLYH1uVnWtnVYz0kRhC8eF/fqscH9XWvgpR/5NpqrJ7VahwuiQjvQ CeEN9hYqNFAq8arlYBMgZasdxTYTI3vNTdk= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNNBqD/tE0= X-RZG-CLASS-ID: mo00 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by smtp.strato.de (RZmta 37.3 AUTH) with ESMTPSA id a01e85r1L0wDaCt (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Sat, 21 Feb 2015 01:58:13 +0100 (CET) Received: by mail-wi0-f174.google.com with SMTP id em10so6408848wid.1 for ; Fri, 20 Feb 2015 16:58:13 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.212.8 with SMTP id ng8mr222803wic.18.1424480293562; Fri, 20 Feb 2015 16:58:13 -0800 (PST) Received: by 10.27.77.131 with HTTP; Fri, 20 Feb 2015 16:58:13 -0800 (PST) In-Reply-To: References: Date: Sat, 21 Feb 2015 01:58:13 +0100 Message-ID: To: Yasuo Ohgaki Cc: Sara Golemon , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Reserve EVEN MORE types for PHP7 From: me@kelunik.com (Niklas Keller) 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. Regards, Niklas