Re: [RFC] Closures: updated proposal and patch

From: Date: Fri, 04 Jul 2008 09:31:46 +0000
Subject: Re: [RFC] Closures: updated proposal and patch
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-38759@lists.php.net to get a copy of this message
Hi Johannes, Am Freitag, den 04.07.2008, 11:18 +0200 schrieb Johannes Schlüter: > Now such a check isn't possible, all reflection information on the > callback I can get is that it is an object of type Closure having a > method __invoke() with zero required parameters. There's no further > information on the function, so probably we need a ReflectionClosure > class or something Couldn't ReflectionFunction play that role. Classes and instances with a defined "__invoke" method can be reflected with ReflectionFunction? cu, Lars

Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
« previous php.internals (#38759) next »