Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87447 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80394 invoked from network); 31 Jul 2015 17:43:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2015 17:43:32 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:44479] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/06-47755-1C3BBB55 for ; Fri, 31 Jul 2015 13:43:30 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 24E9923D629F; Fri, 31 Jul 2015 19:43:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w530phpdev (pD9FE8EAF.dip0.t-ipconnect.de [217.254.142.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 091FF23D6003; Fri, 31 Jul 2015 19:43:23 +0200 (CEST) To: "'Nicolas Grekas'" Cc: "'Julien Pauli'" , "'PHP Internals'" , "'Sebastian Bergmann'" , "'Ivan Enderlin@Hoa'" , References: <024101d0cbaa$f864aa50$e92dfef0$@belski.net> In-Reply-To: Date: Fri, 31 Jul 2015 19:43:23 +0200 Message-ID: <027401d0cbb8$683020f0$389062d0$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQEZxEz2AZ24oXNpNMxONv1anupciAKrx7AyAi9zLxwBrUg0eZ8vmuUA Content-Language: en-us Subject: RE: [PHP-DEV] Exposing object handles to userland From: anatol.php@belski.net ("Anatol Belski") > -----Original Message----- > From: nicolas.grekas@gmail.com [mailto:nicolas.grekas@gmail.com] On = Behalf > Of Nicolas Grekas > Sent: Friday, July 31, 2015 6:11 PM > To: Anatol Belski > Cc: Julien Pauli ; PHP Internals = ; > Sebastian Bergmann ; Ivan Enderlin@Hoa > ; contact@jubianchi.fr > Subject: Re: [PHP-DEV] Exposing object handles to userland >=20 > > > > Have you checked the impact of changing the existing function? > > >=20 > Yes I did, and this breaks absolutely nothing: the spl_object_hash = output has > exactly the same format (otherwise it's a bug). >=20 >=20 > > > > > = > spl_object_hash> > > > > > > > https://github.com/symfony/symfony/blob/master/src/Symfony/Component/V > > arDumper/Cloner/VarCloner.php > > >=20 > That's my code and the very place where I'd use this feature first :) Yeah, saw your name in the commits :)=20 Anthony's argument about exposing the mem layout is crucial, though.=20 Regards anatol