Re: Warning: PDOStatement after the output

From: Date: Mon, 13 Feb 2012 16:00:07 +0000
Subject: Re: Warning: PDOStatement after the output
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-57827@lists.php.net to get a copy of this message
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

« previous php.internals (#57827) next »