I am currently debugging an issue which I am finding hard to find which
centers on trying to serialize and deserialize very complex objects which,
when serialized, are around 580k in size. It's all part of a custom session
handler.

However, when I go to deserialize the value, I get back boolean false ( ===
false). Seems to me that some sort of error message might be in store, no?
Is there some reason why deserialize() does not at least throw an error like
the main parser. Something like:

"Deserialize error: Unexpected character encountered at offset 4687"

Would it be possible to incorporate this type of error reporting into PHP?

I'd be happy to provide print_r() dumps of the data involved if it would
help to diagnose the issue at hand...

As it is, it seems as though I'll just have to create a runtime file to keep
track of the important values and then recreate the objects on each page,
but it would be so much easier to serialize the dumb things. :)

   Mark J. Hershenson
   [EMAIL PROTECTED]
   http://www.green-ant.com/



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to