Re: Callable typehint
| From: | Matthew Weier O'Phinney | Date: | Tue, 07 Jun 2011 16:11:22 +0000 |
| Subject: | Re: Callable typehint | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53159@lists.php.net to get a copy of this message | ||
On 2011-06-07, Hannes Magnusson <bjori@php.net> wrote:
> On Mon, Jun 6, 2011 at 22:49, Christopher Jones
> <christopher.jones@oracle.com> wrote:
> > On 06/06/2011 12:41 PM, Hannes Magnusson wrote:
> > > See attached patch+phpt; Any objections to include it in 5.4?
> >
> > Hannes,
> >
> > How about putting up an RFC for it? Even a brief RFC would be better than
> > none.
> >
>
> https://wiki.php.net/rfc/callable
I've edited the "Problems" section to also point out that "Closure" is
considered an implementation detail which may change in the future --
which could potentially require changing any code type-hinting on it.
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc