On Thu, 2013-07-25 at 21:01 +0100, Jakub Zelenka wrote:
> On Thu, Jul 25, 2013 at 8:56 PM, Stas Malyshev <[email protected]>wrote:
>
>
> > You can create those properties when processing __sleep. Nothing
> > requires them to exist before __sleep was called.
> >
> >
> The problem is that properties will exist after __sleep was called. :)
> There are situations that you don't want them to exist (for example
> DateTime).
What about using our Serializable interface? - That was invented to
serialize internal objects with arbitrary internal data.
johannes