Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41628 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23482 invoked from network); 3 Nov 2008 19:16:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2008 19:16:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:50376] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/90-20486-40E4F094 for ; Mon, 03 Nov 2008 14:16:22 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id AD0861EBC01F; Mon, 3 Nov 2008 19:17:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GK06anokHAaQ; Mon, 3 Nov 2008 20:16:59 +0100 (CET) Received: from [192.168.0.151] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 82F204144009; Mon, 3 Nov 2008 20:16:58 +0100 (CET) Cc: "Jonah H. Harris" , internals@lists.php.net Message-ID: <24192B59-D7C2-419C-8397-C22D638E7E60@pooteeweet.org> To: Scott MacVicar In-Reply-To: <490F48F5.3090609@macvicar.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 3 Nov 2008 20:15:14 +0100 References: <36e682920811031052x632ad22br35136b6fa45fe5f4@mail.gmail.com> <490F48F5.3090609@macvicar.net> X-Mailer: Apple Mail (2.929.2) Subject: Re: [PHP-DEV] [PATCH]: Fix for endless loop in PDOStatement::debugDumpParams() From: mls@pooteeweet.org (Lukas Kahwe Smith) On 03.11.2008, at 19:54, Scott MacVicar wrote: > Jonah H. Harris wrote: >> While using PDOStatement::debugDumpParams, I noticed that it results >> in an endless loop because the hash table is not being traversed. As >> such, attached is a patch against php5 HEAD which adds >> zend_hash_move_forward_ex accordingly. >> >> > > Your patch was stripped, can you attach against with a .txt extension. interesting .. i wasnt aware of this method. there is a doc bug on this on pecl.php.net: http://pecl.php.net/bugs/bug.php?id=13035 once again a reminder that we really do not have a good setup yet to manage the movement of extensions between pecl and php-src. also a pitty that the GSoC for a unified bug tracker apparently did not get finished (?) regards, Lukas Kahwe Smith mls@pooteeweet.org