Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54685 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65324 invoked from network); 18 Aug 2011 13:16:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2011 13:16:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:45470] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/92-50449-CB01D4E4 for ; Thu, 18 Aug 2011 09:16:45 -0400 Received: from [192.168.2.230] (ppp-93-104-44-22.dynamic.mnet-online.de [93.104.44.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id E180877CE1; Thu, 18 Aug 2011 15:16:40 +0200 (CEST) To: Paul Dragoonis Cc: Roger Llopart Pla , Arpad Ray , PHP Internals List In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 18 Aug 2011 15:16:36 +0200 Message-ID: <1313673396.1489.6.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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