Re: [PHP-DEV] A replacement for the Serializable interface

2018-06-10 Thread Nicolas Grekas
Please allow me to up vote for this proposal. I'm working on some serialization logic these days, and `Serializable` is totally broken: it breaks internal references in serialized data structures, and breaks custom serializers (e.g. igbinaryà from inspecting nested structures. The proposal here wou

RE: [PHP-DEV] A replacement for the Serializable interface

2017-04-27 Thread Zeev Suraski
> -Original Message- > From: Nikita Popov [mailto:nikita@gmail.com] > Sent: Friday, April 21, 2017 12:39 PM > To: PHP internals > Subject: [PHP-DEV] A replacement for the Serializable interface > > Hi internals, > > I'd like to propose the addition of a new mechanism which essentia

Re: [PHP-DEV] A replacement for the Serializable interface

2017-04-21 Thread Michał Brzuchalski
Thanks Nikita, Thank you for explanation no I get it. I only don't know what means serialization "O" and "C" but don't bother. I'll try to google it. Cheers -- Michał 21.04.2017 15:51 "Nikita Popov" napisał(a): On Fri, Apr 21, 2017 at 2:47 PM, Michał Brzuchalski < michal.brzuchal...@gmail.com>

Re: [PHP-DEV] A replacement for the Serializable interface

2017-04-21 Thread Nikita Popov
On Fri, Apr 21, 2017 at 2:47 PM, Michał Brzuchalski < michal.brzuchal...@gmail.com> wrote: > I know my voice is doesn't mean anything but IMHO interface with magic > methods could bring more inconsistency. > > I know PHP is consistently inconsistent but I would prefer if it is > posdible to fix an

Re: [PHP-DEV] A replacement for the Serializable interface

2017-04-21 Thread Michał Brzuchalski
I know my voice is doesn't mean anything but IMHO interface with magic methods could bring more inconsistency. I know PHP is consistently inconsistent but I would prefer if it is posdible to fix an issue with present method naming. Cheers 21.04.2017 11:39 "Nikita Popov" napisał(a): > Hi intern