Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39198 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13878 invoked from network); 22 Jul 2008 20:15:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2008 20:15:24 -0000 Authentication-Results: pb1.pair.com header.from=lstrojny@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lstrojny@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lstrojny@php.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:50926] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DB/71-04511-BDF36884 for ; Tue, 22 Jul 2008 16:15:24 -0400 Received: from [192.168.0.101] (xdsl-87-79-225-184.netcologne.de [::ffff:87.79.225.184]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Tue, 22 Jul 2008 22:15:04 +0200 id 000000000000C008.0000000048863FC8.00004C59 To: Stanislav Malyshev Cc: Christian Seiler , Lukas Kahwe Smith , PHP Developers Mailing List , kalle@zesix.com In-Reply-To: <48863E7C.8040900@zend.com> References: <8A5D4032-1FC4-44BB-90F3-61B802F10159@pooteeweet.org> <6BD46F4A-2733-4160-9A3E-AD49F3002865@pooteeweet.org> <4885CF6B.5060600@gmx.net> <1216731965.16085.8.camel@localhost> <48863E7C.8040900@zend.com> Date: Tue, 22 Jul 2008 22:15:03 +0200 Message-ID: <1216757703.17574.3.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-19545-1216757705-0001-2" X-Mailer: Evolution 2.22.2 Subject: Re: [PHP-DEV] closures questions From: lstrojny@php.net (Lars Strojny) --=_milch.schokokeks.org-19545-1216757705-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Stas, Am Dienstag, den 22.07.2008, 13:09 -0700 schrieb Stanislav Malyshev: [...] > I'm all for doing it, the problem is the syntax $foo->bar() is already=20 > used. But you can do $foo->bar->__invoke()! Can't we change zend_std_get_method() to return a zend_internal_function struct in case of a closure on a property? The only thing that needs to be done would be to define the resolution order which is the trickier thing. cu, Lars --=_milch.schokokeks.org-19545-1216757705-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) iQIcBAABAgAGBQJIhj/GAAoJECQPF+sCY6wHDsEP/RoMtPFYGWffH+dS6Wuwqp4w LPzR6KyE6m72QhfdXzHiCQBuySL23KgAdwRuLtu1K9RPj5/nf/fipkB8jKvHAbdI r/fSZj0b4rzk4HZkOizdUOiOLeTYLioiAa+O5tPbA0lUi02/xZlRk8xmWNXZHqqx 7aZVDWJ1PCkYUAFWRpYAiSWDHL9aGoDNogdfh8lMVidBGab9Zjx2itbKdqXitkeD sfTrEiWA3+m15LqbA7lvjhEhQYGtPQPs6o9oRG+ndiWXsO1CacZkpwp/6R1Tvtx4 xLG2r8nbc/phdxdm0EJNxmpdhslvDG5ehp1jP+RQ8LZHFC24DWau/dqUwcP/iW/E 63weieESO5U+07sRElBQmJown9fU1j93tC1U0u7gopsUapSem6HCGmb5/uLH+D9Z sHxM+EdcN0nqLmY8TETkS81/D6NOwB78Os6NhwRIALLmT2J0E4BjqHBamrMe4IFX RE8XJYmGUFSqtsHifKz/ijg9oHnMn6NTniht0A7cN0MFRKbRxnC0y4iN4FuxZkxJ O6ojrs0dFTojU814p0X6dMhTVuT2RbprnUv57g09wb2L0quVFemA8RDuwwuWiwei OlS8kFVrPuaX8HEaPnKMg9BWb1ikSV6d29EIi/zgc1KvX6Rfg/hpk/ktqpSyu2JQ uYZlCL+xqgyLJrpf77qQ =P/Eg -----END PGP SIGNATURE----- --=_milch.schokokeks.org-19545-1216757705-0001-2--