Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91505 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53010 invoked from network); 4 Mar 2016 21:49:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2016 21:49:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:38805] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/90-45689-0F20AD65 for ; Fri, 04 Mar 2016 16:49:36 -0500 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id B20AE42E34; Fri, 4 Mar 2016 22:49:33 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-2-131.dynamic.mnet-online.de [93.104.2.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id 111BB42E30; Fri, 4 Mar 2016 22:49:32 +0100 (CET) Message-ID: <1457128169.14527.21.camel@kuechenschabe> To: Stephen Coakley Cc: internals@lists.php.net Date: Fri, 04 Mar 2016 22:49:29 +0100 In-Reply-To: <3C.51.25279.E14D9D65@pb1.pair.com> References: <24.F3.62769.A4226C65@pb1.pair.com> <1457099585.14527.13.camel@kuechenschabe> <3C.51.25279.E14D9D65@pb1.pair.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-f+Kv+hRXpXcndvwrrTCp" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Subject: Re: [PHP-DEV] Re: [RFC] Deprecations for PHP 7.1 From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) --=-f+Kv+hRXpXcndvwrrTCp Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2016-03-04 at 12:29 -0600, Stephen Coakley wrote: > Not a complete polyfill, since $newfunc is a closure and not a string,= =20 > so you cannot print out the function name. I have no idea if any code=20 > relies on the lambda itself being a string though. This has impact on a few things, i.e. Reflection or users might guess the name. Anyways: Take away: A polyfill won't be 100% identical. However the typical use case should be around usort() or similar where this doesn't matter. johannes --=-f+Kv+hRXpXcndvwrrTCp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJW2gLpAAoJEH3sTmn8nIPX0YsH/jjh3TrkJqi88Vvh193Ho+CU 9ipz3UgVieq4yyRkW9POtSKEozgep26x8RYV6xSLaDxXpbwkyQS4YEFEg8asbZ5M bmv/rMOVMwsBdIjzdeVCfXXLYdIduYDo9ZLePvDBWgs9oJtvKmN7dhf3XbFL1t2m v0roLosypxhVBpau8bHgEl85pwk2I9A4TJv4b5QrZ5HX4cg0myl3BkleFCTub+8l J0PJen09JwOnJsvwGxlA4ycvFpW64At3Bp//G89RUTPNtMeDeFPKtYoqdKxc+UBq QYK99C3sLFC8Jub6N3mIV0WnvVChDy8+wHIjfFLjDd5873legVca69+UeCqA7Fg= =5a+w -----END PGP SIGNATURE----- --=-f+Kv+hRXpXcndvwrrTCp--