Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34051 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2573 invoked by uid 1010); 17 Dec 2007 08:07:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2557 invoked from network); 17 Dec 2007 08:07:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Dec 2007 08:07:02 -0000 Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 85.10.204.248 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 85.10.204.248 milch.schokokeks.org Received: from [85.10.204.248] ([85.10.204.248:40642] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/CA-23767-C1E26674 for ; Mon, 17 Dec 2007 03:06:58 -0500 Received: from [10.22.2.133] (colt-d53d2146.colt.mediaventures.de [::ffff:213.61.33.70]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,AES256-SHA) by milch.schokokeks.org with esmtp; Mon, 17 Dec 2007 09:06:49 +0100 id 0000000000020003.0000000047662E19.00003516 To: internals@lists.php.net In-Reply-To: <476582E6.7020808@zend.com> References: <98b8086f0712150818n40056cedyf0aae7a5a08a27b7@mail.gmail.com> <4764CC64.3040608@zend.com> <98b8086f0712160324n653bbb61v17fbf1d364ae3b51@mail.gmail.com> <476582E6.7020808@zend.com> Date: Mon, 17 Dec 2007 08:44:03 +0100 Message-ID: <1197877443.4625.2.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-13590-1197878809-0001-2" X-Mailer: Evolution 2.12.1 Subject: Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-13590-1197878809-0001-2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Am Sonntag, den 16.12.2007, 11:56 -0800 schrieb Stanislav Malyshev: > > Actually it's the opposite. With create_function, you can bind > > variables, by marshalling them to a string and embed them in the >=20 > That's not binding. But the problem is, seeing this, one expects=20 > closure. And it's no closure. Maybe deprecating create_function() and allowing something like that would be a way to go? $func =3D function($arg) { return $arg; } As it is compile time, the issue with Op-Code caches would/should go away. cu, Lars --=20 Lars Strojny Senior Software Developer Neu.de GmbH Wesselinger Strasse 28 50999 K=C3=B6ln Eingetragen beim Amtsgericht K=C3=B6ln, HRB 61021 Gesch=C3=A4ftsf=C3=BChrer: Sven Jan Arndt, Christian Dornhoff Telefon: 02236-48010-21 Fax: 02236-48010-01 Mobil: 0177-3058654 E-Mail: lstrojny@neu.de Jabber: lars@mabber.com --=_milch.schokokeks.org-13590-1197878809-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.7 (GNU/Linux) iQIVAwUAR2YovCQPF+sCY6wHAQJw4BAAlzW2Pqr6iAG8slm25/KUrvvZHx6mff9+ PC5toKDU+wXbqf2hVBSnNYe0KhRTPpFBYtD0Ry2Da1r94zmN8X1PQId5d+5Ejmy7 3Svjqk7+u3/75j903W/o9DjmrRH4caxCP+V6TzhbSunIrnjokrhGzvGZ5hCr67zS 8ESouFIMWSnEk4Ul6ujZi6W1SxQiuvorj8OfhJhy8Xb89PxYttisFW2MJVPyvBzh Jmya3pJNqUJY5mvsa/86VDPomQa8GWaGwPH6jiYvLM6YC/pvLYrvHiUQkmWQFPte 6BfXM2JN6OlfrNMafsmTmHOq5cwxWguiZdK4EWMbGP3BYdSYIqffCwgqa3TEsI5W 1v+Vz+L2u1u1rjvVqNSNiaiHs4b0z2HepJM3Ioi54ePwMmU6+fkdo9v0baMOP6PK /3zSNZ26H5FmUj2fHwMjObHYgjBpsxsL4tc5NTnvNIBM1ikd17zk3jyYgQiiPhxJ /Y1oRvtxaslQB/qP5KzpDc8JxTVyG0KNgErA01WvTY12ZXNR9c5z+ni9vDJGhj7h 0cmLSWoIbSkTEQiyf4Exi18le3PbnwRIyAhNstJuM7oB3Qcs3J2429lB9mYHQI83 l55ojkIQK61Qm7El/6aIjz5HfgKBWZhRZGVQvQw+Fz8YBBtP5fg6reufptzv3iVP y2G1wrr68AQ= =4hGU -----END PGP SIGNATURE----- --=_milch.schokokeks.org-13590-1197878809-0001-2--