Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99422 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94078 invoked from network); 7 Jun 2017 12:29:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jun 2017 12:29:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=newaltgroup@bk.ru; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=newaltgroup@bk.ru; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bk.ru designates 94.100.177.113 as permitted sender) X-PHP-List-Original-Sender: newaltgroup@bk.ru X-Host-Fingerprint: 94.100.177.113 smtp53.i.mail.ru Received: from [94.100.177.113] ([94.100.177.113:34782] helo=smtp53.i.mail.ru) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/39-27119-C91F7395 for ; Wed, 07 Jun 2017 08:29:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bk.ru; s=mail; h=In-Reply-To:To:References:Date:Subject:Mime-Version:Message-Id:Content-Type:From; bh=DFG8cVNx36iitEqNjlvYPdZFUgoo0n1fwgK1fC3kHq8=; b=ep2HpxY08QSuZu7p8buh21ac2WFwme1gAIgRySCu85jbKTUCtKMAC+URizC92hP+j1oUnN1EWoxfvD5rk+881Hwu3IMO8nE9oD697m7OivFwu4y9zG3V3Vp7CBUaYAH7tjblxKu7NEDIRFylgjhfgBo0AJqdZXw4O8gcI+RrlKE=; Received: from [37.17.45.116] (port=41801 helo=[10.0.1.11]) by smtp53.i.mail.ru with esmtpa (envelope-from ) id 1dIa5J-0004Ub-3i for internals@lists.php.net; Wed, 07 Jun 2017 15:29:13 +0300 Content-Type: multipart/alternative; boundary="Apple-Mail=_C4FF72C1-BE6E-40B9-858C-760B74787F11" Message-ID: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Date: Wed, 7 Jun 2017 15:29:10 +0300 References: <4F92FC9A-0B59-4E71-A6F7-A0DC25F72D3B@bk.ru> To: internals@lists.php.net In-Reply-To: <4F92FC9A-0B59-4E71-A6F7-A0DC25F72D3B@bk.ru> X-Mailer: Apple Mail (2.3124) Authentication-Results: smtp53.i.mail.ru; auth=pass smtp.auth=newaltgroup@bk.ru smtp.mailfrom=newaltgroup@bk.ru X-7FA49CB5: 0D63561A33F958A5B95C88720D9364A3F2E879DAEC75B7F769F058E53CC4E2D6725E5C173C3A84C3D13DC059A893E58D7045736FB9994B842B32DCB92A8600C6C4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F05F538519369F3743B503F486389A921A5CC5B56E945C8DA X-Mailru-Sender: 5359E0D685F10627A37960CE4991768131605FDFB541EBEA23DC65B296AEE9B123065E14518EF36218C1F6AB3FBD83F13DDE9B364B0DF289B1C9E140B68917A5027D9DD7AE851095AE208404248635DF X-Mras: OK Subject: Re: Fix for NumberFormatter did not work properly when restored from session From: newaltgroup@bk.ru (Andrew Nester) --Apple-Mail=_C4FF72C1-BE6E-40B9-858C-760B74787F11 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Bump on this thread because I would like to hear some feedback. Thanks! > On Mar 31, 2017, at 10:55 PM, Andrew Nester wrote: >=20 >=20 > Hello everyone! >=20 > 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. >=20 > 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 >=20 > Thanks! >=20 > Andrew Nester --Apple-Mail=_C4FF72C1-BE6E-40B9-858C-760B74787F11--