On 09.09.2005 17:44, Andrei Zmievski wrote:
Yes, serialization is a problem. I would actually advocate putting a
marker in the serialized file that indicates what the value of
unicode_semantics switch was during the serialization, and if the
value is different during deserialization, refuse to load it or start
a new session. One really should not be changing that switch on a
whim in-between sessions.
Why? It loads/works perfectly fine except for the problems I've mentioned.
Also, you can't put any markers to the serialized _text_ (at least it sounds
very bad to me), so it won't help you in this case.
--
Wbr,
Antony Dovgal
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php