Re: [RFC] [Vote] Callable types (now: Callable prototypes)
| From: | Levi Morrison | Date: | Mon, 23 May 2016 16:31:44 +0000 |
| Subject: | Re: [RFC] [Vote] Callable types (now: Callable prototypes) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93451@lists.php.net to get a copy of this message | ||
On Mon, May 23, 2016 at 8:27 AM, Nikita Nefedov <inefedor@gmail.com> wrote:
> Evening internals,
>
> With this message I'd like to go to vote
> with the Callable prototypes RFC targeted at 7.1:
> https://wiki.php.net/rfc/callable-types
>
> We've renamed it (previously was "Callable types") as RFC names often
> dictate how users will call the feature and I want it to be more
> accurate/descriptive.
>
> Also the reflection part was added although I'm short on time currently,
> so implementation for that will be ready later. (speaking of implementation,
> it also currently doesn't use cache_slots - also something I'll add when
> I have a little bit of time)
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
A quick question before I vote: do callable prototypes allow for
default parameters in the signature? There are examples for having a
function passed that has a default parameters but I am not seeing it
anywhere in the callable prototype definition so I thought I'd ask.