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



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to