Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94816 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29148 invoked from network); 3 Aug 2016 15:28:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2016 15:28:37 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:32920] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/70-24847-3AD02A75 for ; Wed, 03 Aug 2016 11:28:36 -0400 Received: by mail-pa0-f51.google.com with SMTP id b2so22298907pat.0 for ; Wed, 03 Aug 2016 08:28:35 -0700 (PDT) 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; bh=w/Ea2Uqxkhk6LayXfN6x7wfVMH348jttTdrL6tVLKlc=; b=01/gXjrqx9/a2AHHTQXse5xNmiqMwC8ijMQO9w0FkZ74EcI5kYllph3wgSt9lZAOjL b6nNy1abB7o5IX2PkQegJgzyN/KpLAWm92lkJJc2s8dr35yiv/AkEKWBSLYCdnmVqGxT wM+xJ81LtRIpVpxz3eYv+inmmtkZfaUxbEk5AVRMDAaMXG/X6jmx9mzVFafJkjCCxZL5 idRrU/CGk0H19u1lV571biKmGuCUKZeFY79xAguSgQph1pReMr8Hq3GuTDW3VDvmQw07 VFfuJzyk/tOhyqfPKO5VyI774O1nkc1mPKTIdzjb65eY1CBCgYjRSGzFxXlmCWl2N8Ag 27yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=w/Ea2Uqxkhk6LayXfN6x7wfVMH348jttTdrL6tVLKlc=; b=Z6RpzosgkQ4Cgc64RAGJ0AESdU2Ad1hHwDiUQZUSJrUtVduNkP7rTcH3p/bQfJJ20P NjfSPfIKJ8PuKmASataDct6IL3GMFjujz6XM7fUpkpCouthZB9ghYhWQi/UMLVqTUyI3 7DPswHEFZ0hu8wQBSjALNhXn/QM1xUVU5OmAvBjGGJElBheoBhWngh6eWdCP+A1TrLS2 F9j8YxenspTQNT6/JIjyi7VdhLt5REGOZ3pMSWRfaFEbAG8y1XyAkftX6eMzvtBdh3/J LU03ogfeYdihfEQPQYQU9WFykQKauAw48Y469sLP/omndfgOUWl3cSP/c8BN/LYc1WFX Q5ZA== X-Gm-Message-State: AEkoouupdF8o2vsM5+/sYkr56ZlMKUsXTmG7eILsC72N0Rt477Tt2t3SaiOrF7r7sP38HYg1JZwC2NABKYN1yg== X-Received: by 10.66.21.137 with SMTP id v9mr36557384pae.58.1470238112515; Wed, 03 Aug 2016 08:28:32 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.66.24.42 with HTTP; Wed, 3 Aug 2016 08:28:31 -0700 (PDT) In-Reply-To: References: <60AC7828-990B-4B6D-A122-AB9C15C6DEAE@trowski.com> Date: Wed, 3 Aug 2016 09:28:31 -0600 X-Google-Sender-Auth: XipRQmej7eyjT8poumb1rLMCn_0 Message-ID: To: Aaron Piotrowski Cc: internals , Joe Watkins , Davey Shafik Content-Type: multipart/alternative; boundary=bcaec520f7516e8c5f05392c7ccd Subject: Re: [PHP-DEV] [RFC][Vote] ReflectionType Improvements From: levim@php.net (Levi Morrison) --bcaec520f7516e8c5f05392c7ccd Content-Type: text/plain; charset=UTF-8 On Sun, Jul 17, 2016 at 5:31 PM, Levi Morrison wrote: > On Mon, Jul 11, 2016 at 10:30 AM, Aaron Piotrowski > wrote: > > Hi Levi, > > > > On Jul 9, 2016, at 10:12 AM, Levi Morrison wrote: > > > > On Sat, Jul 9, 2016 at 8:16 AM, Aaron Piotrowski > wrote: > > > > > > Additionally, I propose adding a getName() method to ReflectionType that > > returns only the name of the type, regardless of nullability. Casting > should > > not be required to get information from an object, but currently this is > the > > only way to get the type name from ReflectionType. Most other reflection > > classes include a getName() method, this seems to have been an oversight. > > > > > > This wasn't an oversight. If we add union or intersection types then > > not all types are named (for instance `ArrayAccess & Countable & > > Traversable` is not a named type). This is why it doesn't exist on the > > base ReflectionType. > > > > > > Good point, then I agree getName() should be in an extending class as in > the > > RFC. > > > > > > I have surveyed some of the people who have voted no. Their reasons > > vary but based on these conversations it seems to me that by dropping > > ReflectionClassType and the associated autoloading mechanism that > > overall we'd be happier. I do agree with Aaron that at least *some* > > changes really need to go into 7.1. How do people feel about my > > proposal to just drop autoloading and `ReflectionClassType`? > > > > > > This sounds reasonable to me. > > > > Aaron Piotrowski > > This has been quiet for a few days. I am assuming this means there are > no objections. I will work on updating the RFC and revisit this as > soon as I can. > Sadly I wasn't able to get this done in time. If anyone else has time to add this to 7.1 and the RM's will accept it great; otherwise I'll revisit this in version 7.2. --bcaec520f7516e8c5f05392c7ccd--