On Tue, Jun 24, 2008 at 9:19 AM, Kalle Sommer Nielsen <[EMAIL PROTECTED]> wrote:
> Another subject I would like to see now the closures has been brought up
> again
> is, how about adding type hinting in method/function prototypes:
>
> function call(function $callback)
> {
> $callback();
> }
Good point. If we implement closures as objects, as already suggested,
then it's simply a matter of typehinting to the classname we pick.
--
troels
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php