Re: New handler for retrieving properties when object is serialized

From: Date: Fri, 26 Jul 2013 21:08:14 +0000
Subject: Re: New handler for retrieving properties when object is serialized
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-68327@lists.php.net to get a copy of this message
Hi! > Yes, this would break extensions. But we never made any promises about > source BC for extensions. In fact, we actually break it for every Actually, we try to preserve source BC for extensions, unless they do some weird things or they go very deep into the implementation details. "Regular" extension generally should not suffer from adding a feature. > Alternatively, could the problem perhaps be mitigated by making > available some utility functions for serializing native types? We could definitely make some parts of serializer API-accessible, or even make serializer as a whole to be more API-friendly, I think it'd be a nice idea if making implementing Serializable would be made easy by reusing serializer code and combining pieces. If now it's hard making it easier definitely a good idea, much better than creating one more API IMHO. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#68327) next »