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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php