Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68464 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39012 invoked from network); 9 Aug 2013 09:55:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2013 09:55:45 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:65361] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/C7-06453-F9CB4025 for ; Fri, 09 Aug 2013 05:55:44 -0400 Received: by mail-la0-f42.google.com with SMTP id mf11so2895744lab.1 for ; Fri, 09 Aug 2013 02:55:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=NXwSsK5ThtKDEVI40Ekek8q6fxvsUO/fNe/4Bu7NwLo=; b=DhgfHFYOmexkJheFuz+ztALZ7r6hHbzAVHseizPZhbYcZpAtzlgP6ielZ5a54+w10V eihyzFlZ/AFRecXcuR32iIpOf3fCdV5ikZJlMN7lX38apSi8gA4gNd1kemiVr+MrcV15 GeuCT8dSn33YgQzeTX4zYPOASxzC8ggYNMIwfXr/le2BK2xYeXhX7ztRn586xNF/2sqg 6ErmwzTMzkpSQ6I0xCI8tkg/mL5nFMk4/efo6HHObMEipx7xbllU2i4fmLk1m5mD1jIA 8g9g7+70F+PdS7tk1PaX6DjCq7uD3px9XLqYkFxa+3S6D8Kf6XxkRj+fFp7J0bugzMw2 fVuQ== X-Received: by 10.152.29.134 with SMTP id k6mr5564776lah.88.1376042139290; Fri, 09 Aug 2013 02:55:39 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.127.233 with HTTP; Fri, 9 Aug 2013 02:54:59 -0700 (PDT) In-Reply-To: <5204B690.4060006@lsces.co.uk> References: <5202EE67.5020307@sugarcrm.com> <5202FC8A.2070307@sugarcrm.com> <52035622.1090301@lsces.co.uk> <52038ABF.8060904@lsces.co.uk> <5204B690.4060006@lsces.co.uk> Date: Fri, 9 Aug 2013 18:54:59 +0900 X-Google-Sender-Auth: jgcWNplMSWzLiebRYhDHh-l5o3o Message-ID: To: Lester Caine Cc: PHP internals Content-Type: multipart/alternative; boundary=089e0158c432e8927604e380c617 Subject: Re: [PHP-DEV] "php_serialize" session serialize handler From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e0158c432e8927604e380c617 Content-Type: text/plain; charset=UTF-8 Hi Lester, On Fri, Aug 9, 2013 at 6:29 PM, Lester Caine wrote: > Leigh wrote: > >> How php_serialize would cause BC issues for PHP users? >> >> Not everyone uses PHP in the way you would expect. Just how many sites >> out there >> do you think use PHPs session functionality? I'd go for hundreds of >> millions, >> and that's a pretty big target to hit. >> >> If you session_encode() something on 5.x with default settings and 5.x+1 >> cannot >> session_decode() it with default settings, that is a BC break. >> > > My own concerns with much of this are due to third party libraries using > some 'new approach' which requires a particular setup such as changing a > default, but another library still requires the old way of working. THAT is > the problem. On Fri, Aug 9, 2013 at 6:26 PM, Yasuo Ohgaki wrote: > Mixing versions with shared data should be carefully handled for almost > all apps. > Even if this is the case, users may use old serializer so no BC. > > Anyway, we also have to consider number of bug/request reports that it > solves. > There are countless bug reports that were closed as "won't fix"/"not a > bug" > because of the register_globals support in session module. > As I wrote, there is no real BC issue as it's just a matter of ini setting. It's sounded like denial of improvement and removal of misdesigned component. I'm not going to remove old one, though. Search bug db, there are many bug reports/feature requests that this patch solves. If users aren't reading release note of minor version up, then it is users' fault, not ours. If it is, we cannot release new PHP. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --089e0158c432e8927604e380c617--