Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48277 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6151 invoked from network); 13 May 2010 15:58:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 May 2010 15:58:23 -0000 Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:55366] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/2A-51743-E912CEB4 for ; Thu, 13 May 2010 11:58:22 -0400 Received: by fxm18 with SMTP id 18so1494135fxm.29 for ; Thu, 13 May 2010 08:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=obNYpHh49lAwfIMYzCrYpM6PGH784kbPvEsIvJ0R4zU=; b=kSwx1kKmzkRfZ+sCDTLoJGG6WEQ6hOg7BtfLi+gA3VC+lz9MNu7Qe4ZGJMzJuJ7VgZ +wNYd1Ry4pUt6fIJQbO8axwxkOZtVHHvhk9BKZJRQUmgsNHoB6j8r6qRejpwHhD4ctEF +fcdMif3z553qfcrGmG1tJQTkPBC7JVmMZZJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=EYuqK7tPaLC99cCINbh32zKtJ5MKN5peeGLorbYsktiSRh4E+H4D9hswd/AvoQEWqW LqPLbdg/1W8x3mSdAP5Px9x4La0tppKz8IKJbiKBFVFepNknJtu6sU6kduApeNLJLGK2 hx05A1wuhQor9OREeW1soVU6BS0CMnwavT8bo= MIME-Version: 1.0 Received: by 10.204.32.9 with SMTP id a9mr4057343bkd.44.1273766298306; Thu, 13 May 2010 08:58:18 -0700 (PDT) Sender: ekneuss@gmail.com Received: by 10.204.122.19 with HTTP; Thu, 13 May 2010 08:58:18 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 May 2010 17:58:18 +0200 X-Google-Sender-Auth: vI1HCC1EIescWi81uubtK5MMV6w Message-ID: To: Mathias Grimm Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: $_SESSION numeric index bug From: colder@php.net (Etienne Kneuss) Hello, On Thu, May 13, 2010 at 5:39 PM, Mathias Grimm wrote: > 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 > 5.1 is not supported anymore, try with 5.2 or 5.3 instead. Best, -- Etienne Kneuss