ID:               48189
 Comment by:       lf dot amorim at yahoo dot com dot br
 Reported By:      maxwer at ukr dot net
 Status:           Open
 Bug Type:         InterBase related
 Operating System: Win2000SP4
 PHP Version:      5.2.9
 New Comment:

I am also encountering the same problem.


Previous Comments:
------------------------------------------------------------------------

[2009-06-18 12:17:12] max_wer at ukr dot net

I beg pardon.
A function returns the STRING '0 ',
if it will return and INTEGER 0,
I will be happy

------------------------------------------------------------------------

[2009-06-18 12:15:04] max_wer at ukr dot net

A function returns the line of '0 '(with space),
 if it will return a number 0,
 I will be happy :-)

------------------------------------------------------------------------

[2009-06-08 12:32:26] lester at lsces dot co dot uk

I've got this configured on my test machine now, and con confirm that
the if there is an error then false is returned, but a functional query
which affects no rows returns '0' as would probably be expected in other
Firebird Applications?
The question is - should the documentation be changed or the function
extended?
ibase_query has the same problem!

------------------------------------------------------------------------

[2009-05-20 11:37:39] max_wer at ukr dot net

echo "<PRE>";
$b = ibase_connect('127.0.0.1:employee','SYSDBA',SYSDBA_PASS);
$t = ibase_trans(IBASE_WRITE);
// update 0 rows
$p = ibase_prepare($b,'update rdb$database set RDB$DESCRIPTION = null
where RDB$DESCRIPTION = \'false_condition\'');
$r = ibase_execute($p);
ibase_rollback($t);
var_dump($r); // string(2) "0 ","0 " ? but need bool(true)

------------------------------------------------------------------------

[2009-05-19 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/48189

-- 
Edit this bug report at http://bugs.php.net/?id=48189&edit=1

Reply via email to