On 22/04/2016 05:12, Marcio Almada wrote:
Hello everyone,

We just completed the draft for the "Callable Types" RFC. This RFC has been
recently mentioned during other type related threads on this mailing list,
so it feels to be the right time to put the proposal in context:

The proposal is at https://wiki.php.net/rfc/callable-types

The W.I.P patch is available for testing through http://3v4l.org under the
RFC tab.

We count with your detailed feedback and insights. Let's have a nice,
respectful and
constructive conversation about the RFC and work on possible improvements!

Very cool to see work on this. The lack of clear signature definition is definitely one of the main hurdles to using "callable" in interfaces for plugin systems and such where third parties have to integrate.

Not much else to say, the syntax reads a bit weird/heavy being all in-line with the function signature but at the same time I can't imagine how else it would work that would be any better.

Cheers

--
Jordi Boggiano
@seldaek - http://seld.be

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to