Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54682 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54383 invoked from network); 18 Aug 2011 12:02:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Aug 2011 12:02:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=robin@kingsquare.nl; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=robin@kingsquare.nl; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kingsquare.nl from 212.54.42.164 cause and error) X-PHP-List-Original-Sender: robin@kingsquare.nl X-Host-Fingerprint: 212.54.42.164 smtpq1.tb.mail.iss.as9143.net Linux 2.6 Received: from [212.54.42.164] ([212.54.42.164:33683] helo=smtpq1.tb.mail.iss.as9143.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/B0-50449-15FFC4E4 for ; Thu, 18 Aug 2011 08:02:26 -0400 Received: from [212.54.42.132] (helo=smtp1.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Qu1Ik-0008SA-Fj for internals@lists.php.net; Thu, 18 Aug 2011 14:02:22 +0200 Received: from 5351426c.cm-6-2b.dynamic.ziggo.nl ([83.81.66.108] helo=[10.0.0.110]) by smtp1.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1Qu1Ig-0008Uq-MT for internals@lists.php.net; Thu, 18 Aug 2011 14:02:18 +0200 Message-ID: <4E4CFF4B.5010901@kingsquare.nl> Date: Thu, 18 Aug 2011 14:02:19 +0200 Organization: Kingsquare Information Services User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Qu1Ig-0008Uq-MT X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-4.418, vereist 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, CM_META_TB_NOARR 0.50, PROLO_TRUST_RDNS -3.00, RDNS_DYNAMIC 0.98) X-ZiggoSMTP-MailScanner-From: robin@kingsquare.nl X-Spam-Status: No Subject: Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default From: robin@kingsquare.nl ("Kingsquare.nl - Robin Speekenbrink") Hello everyone, My first post after watching the list for a while: my opionion on this would also be incorporate it into the core but with BC compatibility: the serializer could (easily from what i understand) check to see if the serialized format is in the `old` format and read that accordingly, but write it back in the new... That way the problem would 'clear' itself up.. ? (or is this just simple 'user'-level thinking? :P) With kind regards, Robin Speekenbrink Kingsquare Information Services Op 18-8-2011 13:48, Ferenc Kovacs schreef: > On Thu, Aug 18, 2011 at 1:30 PM, Arpad Ray wrote: >> Hi, >> >> On Thu, Aug 18, 2011 at 12:12 PM, Paul Dragoonis wrote: >>> Hey guys, >>> >>> After a brief discussion with Pierre I'm taking this discussion to here. >>> We have the igbinary pecl extension available [1], however not many of our >>> userbase are familiar that it even exists. >>> Here [2] is the performance boost we get from using igbinary with >>> serialize() and unserialize(). >>> >>> Here we get a great perf boost, and what's more excellent as we don't have >>> to break BC to get there! >> >> It would break BC for anyone with serialized strings stored in the >> current format. >> >> Maybe bundle it in core and provide an ini setting like >> session.serialize_handler, but I don't think making it the default in >> 5.4 is an option. > > agree with the BC part, just wanted to mention that that igbinary can > already be set as a session handler via session.serialize_handler if > the extension present. >