Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68404 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8803 invoked from network); 7 Aug 2013 20:34:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Aug 2013 20:34:19 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.99 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.99 smtp99.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.99] ([108.166.43.99:43335] helo=smtp99.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/BF-06453-B4FA2025 for ; Wed, 07 Aug 2013 16:34:19 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp5.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 5B9181B034A; Wed, 7 Aug 2013 16:34:17 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp5.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 173591B0319; Wed, 7 Aug 2013 16:34:17 -0400 (EDT) Message-ID: <5202AF52.9060200@sugarcrm.com> Date: Wed, 07 Aug 2013 13:34:26 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Yasuo Ohgaki CC: "internals@lists.php.net" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] "php_serialize" session serialize handler From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > Current session module has a few limitations due to "register_globals" > support which is now obsolete. One of them is numeric key indexed session > data. i.e. $_SESSION[1] = $var is not allowed now and it raises error at > R_SHUTDOWN with useless message for debugging. Why is it useful to do this? I don't see how using numerical indexes in global namespace (and SESSION is one of global namespaces in PHP) is a good idea. Could you explain the use case here? This seems to be to be of a very limited use and introducing new serializer format with all resulting BC problems and confusion doesn't seem to be worth it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227