Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69971 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70203 invoked from network); 30 Oct 2013 21:46:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Oct 2013 21:46:51 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.176 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.176 mail-ob0-f176.google.com Received: from [209.85.214.176] ([209.85.214.176:64296] helo=mail-ob0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/80-00845-A4E71725 for ; Wed, 30 Oct 2013 16:46:51 -0500 Received: by mail-ob0-f176.google.com with SMTP id uy5so2123366obc.21 for ; Wed, 30 Oct 2013 14:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2byF5t37P+RsO5KBIGxXlWJ9c2BzT+vol7oyP8zoHK8=; b=wfxZ5qzOQhVa5uoxx9aArhnAlzjYGi24UqyxevRmWfP4IZ7lLXBHIkK75uuzuLnNHM BjSb4Hcazu8YusSs77oygEy2YfVlAFZmFuLgFj3dR7G6kxvuSPwouMdXyK5eQS3wp0km 2jSI6EmdGOKKFvvZZh/ewnl1p83dYekUTPgeivdSbwDb9Bd0axpuOpHbsGjB+TA+FIGg CwVELJEVxzxdntJZPZnzN1P0C7dTy1akNYcQYN798IpoG/lH1a0onfYm3+MeZjDXVONn wUPY7NHDUS7TUd6NYd6VF+g+f/dJItc9s8suimR3AvJGXabhC7m72QrpL2ydekm0BNEf gl8A== MIME-Version: 1.0 X-Received: by 10.182.16.227 with SMTP id j3mr2892293obd.68.1383169608493; Wed, 30 Oct 2013 14:46:48 -0700 (PDT) Received: by 10.182.54.112 with HTTP; Wed, 30 Oct 2013 14:46:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 30 Oct 2013 22:46:48 +0100 Message-ID: To: Jakub Zelenka Cc: "nikic@php.net" , PHP internals list Content-Type: multipart/alternative; boundary=001a11c1d8d22db0ee04e9fc4503 Subject: Re: GMP serialization From: nikita.ppv@gmail.com (Nikita Popov) --001a11c1d8d22db0ee04e9fc4503 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Oct 30, 2013 at 10:37 PM, Jakub Zelenka 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 --001a11c1d8d22db0ee04e9fc4503--