> -----Original Message----- > From: nicolas.gre...@gmail.com [mailto:nicolas.gre...@gmail.com] On Behalf > Of Nicolas Grekas > Sent: Friday, July 31, 2015 6:11 PM > To: Anatol Belski <anatol....@belski.net> > Cc: Julien Pauli <jpa...@php.net>; PHP Internals <internals@lists.php.net>; > Sebastian Bergmann <sebast...@php.net>; Ivan Enderlin@Hoa > <ivan.ender...@hoa-project.net>; cont...@jubianchi.fr > Subject: Re: [PHP-DEV] Exposing object handles to userland > > > > > Have you checked the impact of changing the existing function? > > > > Yes I did, and this breaks absolutely nothing: the spl_object_hash output has > exactly the same format (otherwise it's a bug). > > > > > > > <https://github.com/sebastianbergmann/phpunit/search?utf8=%E2%9C%93&q= > > spl_object_hash> > > > > > > > https://github.com/symfony/symfony/blob/master/src/Symfony/Component/V > > arDumper/Cloner/VarCloner.php > > > > That's my code and the very place where I'd use this feature first :) Yeah, saw your name in the commits :)
Anthony's argument about exposing the mem layout is crucial, though. Regards anatol -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php