Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText()
| From: | Levi Morrison | Date: | Thu, 29 May 2014 20:53:15 +0000 |
| Subject: | Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74643@lists.php.net to get a copy of this message | ||
On Thu, May 29, 2014 at 2:51 PM, Andrea Faulds <ajf@ajf.me> wrote:
>
> On 29 May 2014, at 20:59, Sara Golemon <pollita@php.net> wrote:
>
>> Pretty straight-forward. Makes it easier to recreate a function
>> signature from PHP (Mocking)
>> https://wiki.php.net/rfc/reflectionparameter.typehint
>
> Why 5.7? Looks like the sort of self-contained function addition you could get into 5.6.1.
Personally I think we shouldn't add features in 5.6.1. Those should be
reserved for bug and security fixes.