On Wed, Oct 30, 2013 at 10:37 PM, Jakub Zelenka <bu...@php.net> wrote:

> Hi,
>
> There is a new patch that is changing serialization in GMP:
>
>
> http://git.php.net/?p=php-src.git;a=commitdiff;h=4218e89f8df4ca3897e3aad595e0c2c9cf4c3aca
>
> It fixes the bug but it also introduces BC break for serialized string
> (custom serialization replaced the std object serialization). The problem
> is that there can be users (one big user is WordPress) that saves the
> serialized into DB which can lead to the difficulties when updating PHP
> version.
>

As already pointed out on the php-cvs mailing list, this is not a backwards
compatibility break because it only changes implementation details of a
feature introduced in master (PHP 5.6). GMP numbers were never serializable
in any released version of PHP. Ability to serialize was added as part of
https://wiki.php.net/rfc/operator_overloading_gmp.

Nikita

Reply via email to