Is there some php libraries which implement serialization of data to XML-format like serialize() and unserialize() (with restoring objects from XML) functions of objects with private and protected fields?
PEAR XML_Serializer works fine with type hints option, but it doen't deal with protected fields.