Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53159 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36202 invoked from network); 7 Jun 2011 16:11:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2011 16:11:23 -0000 X-Host-Fingerprint: 208.107.178.23 host-23-178-107-208.midco.net Date: Tue, 07 Jun 2011 12:11:22 -0400 Received: from [208.107.178.23] ([208.107.178.23:9660] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/04-15404-AAD4EED4 for ; Tue, 07 Jun 2011 12:11:22 -0400 Message-ID: To: internals@lists.php.net References: <4DED3D5B.6030307@oracle.com> User-Agent: slrn/pre1.0.0-18 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit X-Posted-By: 208.107.178.23 Subject: Re: [PHP-DEV] Callable typehint From: weierophinney@php.net (Matthew Weier O'Phinney) On 2011-06-07, Hannes Magnusson wrote: > On Mon, Jun 6, 2011 at 22:49, Christopher Jones > 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