You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Anner van Hardenbroek <dw...@users.sourceforge.net> on 2010/05/20 04:56:04 UTC

PHP: unserializing struct, empty ::$_TSPEC

Hi folks,

I've a problem when I serialize and unserialize a struct. It seems that the static $_TSPEC isn't serialized correctly.
It's possible to fix it by using the __wake() magic function to set the spec as it's done in __construct().

Is it possible to add it to 0.3 or is too late for that?

Kind regards,
- Anner.

--
Anner van Hardenbroek
dwlnetnl@users.sourceforge.net