Re: Activation of IGBinary serialization extension in 5.4 by default
| From: | Johannes Schlüter | Date: | Thu, 18 Aug 2011 13:16:36 +0000 |
| Subject: | Re: Activation of IGBinary serialization extension in 5.4 by default | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54685@lists.php.net to get a copy of this message | ||
On Thu, 2011-08-18 at 12:48 +0100, Paul Dragoonis wrote:
> I agree with bundling and providing a .ini setting to activate, but off by
> default.
An ini setting is evil for this. People use serialized data as transport
format having that depend on an ini setting is bad.
suggestions:
- The decode function could check the format ("old" format will always
begin by one of aisfb or so followed by a colon, igbinary something
else)
- serialize() might get an extra parameter to set the format
- lateron, if we want: if old format is being use a deprecation notice
is shown when the older fomrat is being used)
johannes