Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77548 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38057 invoked from network); 23 Sep 2014 16:36:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2014 16:36:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=park.framework@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=park.framework@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.43 as permitted sender) X-PHP-List-Original-Sender: park.framework@gmail.com X-Host-Fingerprint: 209.85.218.43 mail-oi0-f43.google.com Received: from [209.85.218.43] ([209.85.218.43:54498] helo=mail-oi0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/93-20247-C71A1245 for ; Tue, 23 Sep 2014 12:36:13 -0400 Received: by mail-oi0-f43.google.com with SMTP id v63so4633942oia.30 for ; Tue, 23 Sep 2014 09:36:10 -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=w9fSJ4q3m46AuvHgJtcpQDJU8lHORolvDr37GtU2kLk=; b=VnZ0VzmLuucQ3yzP0mJg2ZUptA7cLvA32f48Otm0kcM4ZxjnIHZzler8Y53qlsfzUr eawBnQfhDELwOu0pkJNb5N05ojJ+Kfua4FrcPdWbW5EeVK3bvwM6F8GQ6VPdaYSEROLA OJUPqXnaVP10ZFj8K2cO6YSQCi1fj564zUsOHWWSQaHmcy1LCUwD3bCRiC3ACOkRxtnq osTOO7cyI2NBQ2nLpnuHgdlc0r0DT5Ca8WgdaQ50TzNri+GcE/pKo0bleyD9KXOdYtMQ UjleV+7AQXfSttluE9t771rr9eY7ForoWrp/G0wMkgu0Zn0Ltc+CxO46cg6Q86bgF80W Dazw== MIME-Version: 1.0 X-Received: by 10.60.81.40 with SMTP id w8mr770291oex.53.1411490170135; Tue, 23 Sep 2014 09:36:10 -0700 (PDT) Received: by 10.76.23.37 with HTTP; Tue, 23 Sep 2014 09:36:10 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Sep 2014 19:36:10 +0300 Message-ID: To: Pierre Joye Cc: Paul Dragoonis , PHP internals , Leigh Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Improve PHP 7 serialization From: park.framework@gmail.com (Park Framework) > Not really, not because it is not good but because there is always be a > better one. We can't break format in every release. 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?