On Sep 23, 2014 8:07 PM, "Leigh" <lei...@gmail.com> wrote:
>
> On 23 September 2014 17:36, Park Framework <park.framew...@gmail.com>
wrote:
> >
> > If you do not update in PHP 7 serialization method, it will never be
> > updated, the default serialization in PHP 7 will be slow.
> >
> > To maintain backward compatibility, can implement support method calls
> > on primitive types, new algorithms for serialization to be called only
> > in the new API.
> >
> > $var->serialize()
> > $var->unserialize()
> >
> > What do you think about this?
>
> To maintain backward compatibility we leave the behaviour of
> un/serialize() in tact.
>
> There are extensions for alternative serialisation methods and
> regardless of whether any of these becomes a bundled extension, the
> functionality should exist under a different set of function names.

They all exist already. Either for automatic serialization or using
<extname>_(un)serialize, or pack/unpack.

Also as it has been said already, many different extensions exist, each of
them being good in one or many areas. It is like compression methods, use
the right one for the right task.

Reply via email to