On Fri, 2013-07-26 at 10:38 +0100, Jakub Zelenka wrote:

> This is a bit painful to generate and then parse (unserialize) string
> if you do it in C... Especially if you need only add few properties
> that will contain data for serialization. In that case Serailizable is
> a bit overkill...

So rather change the engine, which affects way more things and add yet
another serialisation hook making it even more confusing what to use?
> 
> 
> And for my use case (DateTime serialization) it would be BC as well.
> Different format (Serializable always generate Custom string).
> 
You're solution also depends on an API break and also changes the way
the objects behave during serialization/unserialization.

Doesn't convince me.

johannes




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

Reply via email to