Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57827 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36378 invoked from network); 13 Feb 2012 16:00:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2012 16:00:21 -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 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:57303] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 15/30-34738-F83393F4 for ; Mon, 13 Feb 2012 11:00:16 -0500 Received: from [192.168.2.230] (host-188-174-214-151.customer.m-online.net [188.174.214.151]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 813A560226; Mon, 13 Feb 2012 17:00:12 +0100 (CET) To: marius adrian popa Cc: PHP Developers Mailing List In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 13 Feb 2012 17:00:07 +0100 Message-ID: <1329148807.2621.785.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Warning: PDOStatement after the output From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2012-02-13 at 11:37 +0200, marius adrian popa wrote: > I have this weird bug where the warning is printed after the query is > executed and printed > > http://gcov.php.net/viewer.php?version=PHP_5_4&func=tests&file=ext%2Fpdo_firebird%2Ftests%2Fbug_43130.phpt > > Result is correct , warning is correct only the order is out of order Is it? - The output is string(5) "test1" which is not expected. The test assumes that :id-value is not interpreted as a place holder, but interpreted as :id -value so the placeholder's name is :id, only. I don't know about firebird ... does it handle the named parameters itself and interpret :id-value as name? Then that's where the difference comes from. johannes