Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98706 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63382 invoked from network); 31 Mar 2017 20:15:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2017 20:15:04 -0000 Received: from [127.0.0.1] ([127.0.0.1:22158]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id D5/70-60224-8C8BED85 for ; Fri, 31 Mar 2017 15:15:04 -0500 Authentication-Results: pb1.pair.com header.from=newaltgroup@bk.ru; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=newaltgroup@bk.ru; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bk.ru designates 217.69.128.35 as permitted sender) X-PHP-List-Original-Sender: newaltgroup@bk.ru X-Host-Fingerprint: 217.69.128.35 smtp55.i.mail.ru Received: from [217.69.128.35] ([217.69.128.35:46886] helo=smtp55.i.mail.ru) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/60-60224-254BED85 for ; Fri, 31 Mar 2017 14:56:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bk.ru; s=mail; h=Mime-Version:To:Date:Message-Id:Subject:Content-Type:From; bh=qkNMIt0E1ajVnvl1+YwvI52+kJtaW84l+HGb8RaJON4=; b=bS01yyhNVnIVtJVxsFf+fz4XvShMU7YTEXUqJyUu8jnsWjJHS9Sbxt0XJ7w5hPT8/eWxguTqyId5D8JU+5Himw3sdVojLUngSvSExszb90iKq/wARdCdGglLE+NY0FxiOWr4WlvOlOLlB3AZiiCdrwp+YNOjs0fPelJuNe2DbG8=; Received: from [93.85.165.195] (port=16847 helo=[192.168.100.6]) by smtp55.i.mail.ru with esmtpa (envelope-from ) id 1cu2eM-0005my-S3 for internals@lists.php.net; Fri, 31 Mar 2017 22:55:59 +0300 Content-Type: multipart/alternative; boundary="Apple-Mail=_5BAF1C64-3476-4F42-8056-17FBD7EDE5BA" Message-ID: <4F92FC9A-0B59-4E71-A6F7-A0DC25F72D3B@bk.ru> Date: Fri, 31 Mar 2017 22:55:58 +0300 To: internals@lists.php.net Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Authentication-Results: smtp55.i.mail.ru; auth=pass smtp.auth=newaltgroup@bk.ru smtp.mailfrom=newaltgroup@bk.ru X-7FA49CB5: 0D63561A33F958A5CB6EDF2816EFA7179089627415296965D53C74F54091F8589F18ECD7E95F35E9DFC7E6F631CA35882E87572306472827D52E53EF7E40A7E70BF2EBBBDD9D6B0FA9026579488CF844 X-Mailru-Sender: B671626F85F377A6AE75199144F6D0AB1182264891227E8513ADB80B948FDC8D83E2F6C2D0383906A9271607D6A29722C77752E0C033A69E2328BD8782179214FA0F92EE79D60FBC3453F38A29522196 X-Mras: OK Subject: Fix for NumberFormatter did not work properly when restored from session From: newaltgroup@bk.ru (Andrew Nester) --Apple-Mail=_5BAF1C64-3476-4F42-8056-17FBD7EDE5BA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello everyone! I=E2=80=99ve been working on fix for following bug: = https://bugs.php.net/bug.php?id=3D74063 = =20 As it became clear after discussion under proposed pull request here = https://github.com/php/php-src/pull/2378 = =20 there is no single way how to handle serialization of internal classes. As Nikita Popov proposed it might be good to add = =E2=80=9Cget_properties_for_serialize handler (or similar), which is a = variant of get_properties that is used for serialization (and returns a = temporary HT). This would allow us to use wakeup-based unserialization = without leaking additional (PHP-level) properties.=E2=80=9D Thanks! Andrew Nester= --Apple-Mail=_5BAF1C64-3476-4F42-8056-17FBD7EDE5BA--