Fix for NumberFormatter did not work properly when restored from session

From: Date: Fri, 31 Mar 2017 19:55:58 +0000
Subject: Fix for NumberFormatter did not work properly when restored from session
Groups: php.internals 
Request: Send a blank email to internals+get-98706@lists.php.net to get a copy of this message
Hello everyone! I’ve been working on fix for following bug: https://bugs.php.net/bug.php?id=74063 <https://bugs.php.net/bug.php?id=74063> As it became clear after discussion under proposed pull request here https://github.com/php/php-src/pull/2378 <https://github.com/php/php-src/pull/2378> there is no single way how to handle serialization of internal classes. As Nikita Popov proposed it might be good to add “get_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.” Thanks! Andrew Nester

« previous php.internals (#98706) next »