Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45869 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12018 invoked from network); 22 Oct 2009 15:28:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Oct 2009 15:28:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=richardkmiller@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=richardkmiller@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: richardkmiller@gmail.com X-Host-Fingerprint: 209.85.220.226 mail-fx0-f226.google.com Received: from [209.85.220.226] ([209.85.220.226:62200] helo=mail-fx0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/C9-21514-92A70EA4 for ; Thu, 22 Oct 2009 11:28:42 -0400 Received: by fxm26 with SMTP id 26so12204195fxm.23 for ; Thu, 22 Oct 2009 08:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=jecHYM2Q7p/eLaC4r6137rJ1COk0RTB4pHuy4QC4TYE=; b=Mk5GmRASR4Yz/FBPI80pFIryVBvOo0zAvxT7WgLjZRV/JBMBQcAiEM03htM1YEwqBp Xq+t5XHz502COekrYfMUMF5tXwQA+KOGsmj3VmBpjNqDCY0LQ5CY75Cc2rLxAACnUzOX myhotSnN3eEKapD6g/5d98eDfII3rsojzNKiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=eGFIZi4F3CazVQUZNzZqljnqzYvVHethrytdvMmq90yPAd2fdNi5rkrFw08HmyVhv7 dNHPP4tU9f6ZZ+5lYfFx0j4ixmUQ0ZWAJT3WfusFoDYSDDPgVQ3L742d8ZgtO+8i/ljv 2UTJMS6HqZFRq/VUtmGv3NTMpWfOcrdVTOqQQ= Received: by 10.204.154.69 with SMTP id n5mr4616796bkw.43.1256225319029; Thu, 22 Oct 2009 08:28:39 -0700 (PDT) Received: from ?192.168.2.13? (69.169.175.180.provo.static.broadweavenetworks.net [69.169.175.180]) by mx.google.com with ESMTPS id 1sm2163917fkt.11.2009.10.22.08.28.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Oct 2009 08:28:37 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes In-Reply-To: <4AE00CE9.9050602@daylessday.org> Date: Thu, 22 Oct 2009 09:28:33 -0600 Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Message-ID: <2FEC738F-A4EF-4853-8CC7-D4DAF97D892C@gmail.com> References: <84898698-728C-44ED-BF7A-E0E02C111F68@gmail.com> <4AE00CE9.9050602@daylessday.org> To: Antony Dovgal X-Mailer: Apple Mail (2.1076) Subject: Re: [PHP-DEV] bug when using foreach with references? From: richardkmiller@gmail.com (Richard K Miller) On Oct 22, 2009, at 1:42 AM, Antony Dovgal wrote: > On 22.10.2009 05:37, Richard K Miller wrote: >> Is this a bug in PHP? > > Search the bug DB before asking such questions. > > http://bugs.php.net/bug.php?id=29992 > http://bugs.php.net/bug.php?id=39307 > http://bugs.php.net/bug.php?id=40065 > http://bugs.php.net/bug.php?id=40654 > http://bugs.php.net/bug.php?id=41603 > http://bugs.php.net/bug.php?id=43501 > http://bugs.php.net/bug.php?id=43806 > http://bugs.php.net/bug.php?id=43988 > http://bugs.php.net/bug.php?id=47388 > Antony, I've seen some of those, though not all, but thought I'd bring it up for discussion. I've appreciated the thoughtful responses, for example from Marco Tabini, to help explain this. It still doesn't quite make sense to me. Doesn't it seem alarming that there are so many bug reports on this issue, even if from an internals perspective it makes sense to you? Richard