Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38759 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17328 invoked from network); 4 Jul 2008 09:31:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jul 2008 09:31:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:54297] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/A3-14155-60EED684 for ; Fri, 04 Jul 2008 05:31:51 -0400 Received: from [10.88.8.183] (colt-d53d2146.colt.mediaventures.de [::ffff:213.61.33.70]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Fri, 04 Jul 2008 11:31:46 +0200 id 000000000000C01E.00000000486DEE02.00007CDE To: Johannes =?ISO-8859-1?Q?Schl=FCter?= Cc: Dmitry Stogov , Andi Gutmans , Lukas Kahwe Smith , Christian Seiler , php-dev List In-Reply-To: <1215163088.32294.9.camel@goldfinger.johannes.nop> References: <486B6960.4030705@gmx.net> <3F379336-B4DC-4495-AD76-3D52ED703E0E@pooteeweet.org> <486C7F5F.3080007@zend.com> <698DE66518E7CA45812BD18E807866CE01C3A902@us-ex1.zend.net> <486D1AD3.3080708@zend.com> <1215163088.32294.9.camel@goldfinger.johannes.nop> Date: Fri, 04 Jul 2008 11:31:46 +0200 Message-ID: <1215163906.8875.26.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-31966-1215163906-0001-2" X-Mailer: Evolution 2.22.2 Subject: Re: [PHP-DEV] [RFC] Closures: updated proposal and patch From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-31966-1215163906-0001-2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Johannes, Am Freitag, den 04.07.2008, 11:18 +0200 schrieb Johannes Schl=C3=BCter: > 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 --=_milch.schokokeks.org-31966-1215163906-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJIbe4BAAoJECQPF+sCY6wHmhsQAIXvEjq1e/USE2d5PGwGj9CG DEU1GLFBHWEPd0vGE7f3y3QdUnI2btACTfkxVsZC6HqOVvHG4QpM8TuCQLszwvUD aHGgZNUx/X1U+pkHWWuP4zQPcXX+C7Lxh53d6/5UraO6qIkpC1+g5iUpdfKjm9+l AmvqE+dx+aN2jhahhkuQo20b5rM/inpOcgAzLW6R6mVMWH0hWH/U0AfPSh7FsbS0 mO0EDrJKil5h8sRAaTcL4M7S1zkKvBSqZEFeKtMCuPA59/wKl1g4wRdogm11oyhU CORLW1VgMNokWFH/jMJnpurZlR/7erRg7qogmf8i+8G+oVI3Fp+Wur5toHPjGFNK lxRRhqRyHYlVx2GPxkHjKo7Nt/Xl9xb6JftF05EBfUwBo5AB6pfDFiwmZmq3I4sA cEA+LVPiNdVeEYktyrFOuGj40g3XClwN56JuGNraVWOAob1LTpbAtw8fkUKlEg8c EkaLVw9wSujM6QOnyxwUrY6cftd0vvMysPkB5J+yipkW4OsbhGmCFidAV+m2oUHJ SePh5HiN+rKHZMubEbDO49y5lYpEfy3lqExq2DlXiHioP6J0rtcAmSy46SntEnS3 jjxJubdWj+hv1ReS0Wpm9oCjZFO6RIIBgq8h4+jrsHI0dMm/BkczawuvO7TE9qg7 hD9acYpz13ucjnRQ+b0V =IVL4 -----END PGP SIGNATURE----- --=_milch.schokokeks.org-31966-1215163906-0001-2--