Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48275 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2335 invoked from network); 13 May 2010 15:39:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2010 15:39:37 -0000 Authentication-Results: pb1.pair.com header.from=mathiasgrimm@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mathiasgrimm@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mathiasgrimm@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:61740] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/69-51743-83D1CEB4 for ; Thu, 13 May 2010 11:39:37 -0400 Received: by gyf2 with SMTP id 2so625675gyf.29 for ; Thu, 13 May 2010 08:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Yon6ynvZJPI+HDUmXrkUKGLMuIxKXhMBya4x3gckbFo=; b=UPzogqCosNqFrWBc1ZihOBxBWBjFFa/lwLaOklW6jFb0mwHLj7x+yo5vhp7mgjcNQS kWivGyMUdvi0jgaOiGDPvQghS9qE7ZhurWaHzq18eADHsZU3x3gKexDQ2Epo1KBBGdGU hqSIHprZxhISzt9E7Gy04S4+51lFaVW/eimf8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gfYF+7zF/F+0eQFnc/JyvfRsyleC9qRfGDOztGnZqCNd9RQVDEEJjqJCcEBEwWsobx M5wqvkM0KUZnjOosZEM/ZSrTqXGqI4pQ6elS02et38O0GMwpl3JaEzBYpund4ei0y7Nw LOs/sWvMMlk8hMRfzXHByXtWNt5njj9MJJths= MIME-Version: 1.0 Received: by 10.101.198.23 with SMTP id a23mr6669483anq.231.1273765171177; Thu, 13 May 2010 08:39:31 -0700 (PDT) Received: by 10.100.137.18 with HTTP; Thu, 13 May 2010 08:39:30 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 May 2010 12:39:30 -0300 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016e68ed7748e7d3404867b908f Subject: Re: $_SESSION numeric index bug From: mathiasgrimm@gmail.com (Mathias Grimm) --0016e68ed7748e7d3404867b908f Content-Type: text/plain; charset=ISO-8859-1 i did the same on linux, with the same version of php and the bug is there!! On Thu, May 13, 2010 at 12:25 PM, Mathias Grimm wrote: > im using php 5.1.6 on xampp and i find a bug. > how to know if the bug was fixed? > > the bug is: > > 1. > session_start(); > $_SESSION[0] = 'test'; > echo $_SESSION[0]; > > 2. > session_start(); > //$_SESSION[0] = 'test'; > echo $_SESSION[0]; > > the expected was: > test > > the result was: > notice... > > after comment and reload, throws: > * > * > *Notice*: Undefined offset: 0 in * > C:\xampp_padrao\xampp\htdocs\indisponibilidade_patrimonial\index.php* on > line *4* > * > * > if dont use numeric index, it works!, but if index is numeric, bug! > > if it was not fixed, a want to fix it, but i dont have cvs access > > -- > Att. > Mathias Grimm > > http://mathiasgrimm.com.br > http://phpempregos.com.br > -- Att. Mathias Grimm http://mathiasgrimm.com.br http://phpempregos.com.br --0016e68ed7748e7d3404867b908f--