Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48276 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4929 invoked from network); 13 May 2010 15:55:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2010 15:55:55 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; 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 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:37718] helo=schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/D9-51743-0012CEB4 for ; Thu, 13 May 2010 11:55:45 -0400 Received: from localhost (ka.local [127.0.0.1]) by schlueters.de (Postfix) with SMTP id B5D4324AAA for ; Thu, 13 May 2010 17:55:41 +0200 (CEST) Received: from [192.168.1.31] (ppp-93-104-53-255.dynamic.mnet-online.de [93.104.53.255]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by schlueters.de (Postfix) with ESMTPSA id 56FC124AA8; Thu, 13 May 2010 17:55:41 +0200 (CEST) To: Mathias Grimm Cc: internals@lists.php.net In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 13 May 2010 17:55:36 +0200 Message-ID: <1273766136.3214.3.camel@guybrush> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: $_SESSION numeric index bug From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2010-05-13 at 12:39 -0300, Mathias Grimm wrote: > > im using php 5.1.6 on xampp and i find a bug. > > how to know if the bug was fixed? > > 5.1.6 is ooooold. Please test a newer version before reporting anything. Secondly please consult regular support forums/groups for such questions, and bugs.php.net for reporting bugs. This list is for working on the internals. To your issue: That's related to the way the session module serializes data, which is non-standard serialize due to register_globals. Most likely php.next, where r_g is gone will use standard serialization where this would be fixed. till then a session key has to be a string. johannes