On Tue, 2013-04-09 at 11:28 +0800, Laruence wrote: > Hey: > > bug is described at #64554 > > I proposal to add a leading backslash to all classnames (not only ns > names, since no harm, consistent and make sense) when doing serialize, > var_export etc. > > what do you think?
This breaks compatibility with serialization with <=5.2. Right now, when using no namespaces, you can serialiaze things in 5.6-dev and unserialize in older versions. In the bug I also don't see a need for doing this in serialize. unserialize should know those are fully qualified. var_export is a bit more nifty. I see a similar compatibility issue as with serialize but also the use case ... johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php