I was wondering if there is any reason to stay away from object serialization in PHP. My use case is for deferred processing. Ex: A mail queue where the mail object would be serialized when a send request is received, stored in a db and unserialized by a scheduled worker script.
The alternative is to store all the information that is needed by the object in the database and build the object in the worker script. The downside to this is that the database would be tied to the structure of the object and I do not want to do that.