Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10003 invoked from network); 13 Oct 2015 13:56:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2015 13:56:30 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.182 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:34589] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/D0-05441-D8D0D165 for ; Tue, 13 Oct 2015 09:56:30 -0400 Received: by lbbck17 with SMTP id ck17so21146222lbb.1 for ; Tue, 13 Oct 2015 06:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=8f2S1n1ZQbjAt+/Y8ETlCoEu2m4K6JDB4mA0VP/tfGc=; b=HNaESF7OW3r81s5iZLRkxzIksnnoCp/E3BTIpkQUJG/kc9546tG2+D5k2VJy+TXv9G qRLw2y2nLkTJe8H6GVhRBC1tAnk8rZRVyNEijjm7aiet0Q3L6VbEhbySPAzrDuhfnwTq IzHpfsmZgYuOksbMhG8cgfH6IyIvZ9vI7eaE+MjNMW031982yQ3j2Av+0GEelJtNQ0Bh tACdhtQT/4mneTnjRpiuisT0Q004u8cX+MH6sbIQPvh/PXe5FqqXzpPuLukKqBbqP4IQ AeePQyBp5f0N1wCzra5YNQrK6+EyYX8n2qG5UNIHRZ9T7LNP3wm49aeREwoj4koH94qD YztA== X-Received: by 10.25.163.199 with SMTP id m190mr10044278lfe.13.1444744586757; Tue, 13 Oct 2015 06:56:26 -0700 (PDT) Received: from [192.168.0.132] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id k1sm541959lbc.28.2015.10.13.06.56.25 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Oct 2015 06:56:26 -0700 (PDT) To: internals@lists.php.net References: <5C.21.16518.AA80C165@pb1.pair.com> <561CDFFA.8040207@php.net> Message-ID: <561D0D81.2020306@gmail.com> Date: Tue, 13 Oct 2015 14:56:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Scalar type hints and scalar type name aliases causeconfuson From: rowan.collins@gmail.com (Rowan Collins) Andrea Faulds wrote on 13/10/2015 12:00: > Hi Michael, > > Michael Wallner wrote: >> On 12/10/15 21:23, Andrea Faulds wrote: >>> Even if we can't reserve the names, I hope we can do the two other >>> suggestions in time for release. >> >> Additionally, we could say "instance of class ...". >> > > We could do that, though it's already 'instance of'. Not sure on this > one. It's not necessarily a class you're requiring an instance of, it could (and according to some design disciplines "should") be an interface. I think the "did you mean..." is more useful if we don't make everything alias. Regards, -- Rowan Collins [IMSoP]