From:             maxwer at ukr dot net
Operating system: Win2000SP4
PHP version:      5.2.9
PHP Bug Type:     InterBase related
Bug description:  ibase_execute error in return param

Description:
------------
ibase_execute return values

http://ua2.php.net/manual/ru/function.ibase-execute.php
Çàìå÷àíèå: In PHP 5.0.0 and up, this function returns the number of rows
affected by the query (if > 0 and applicable to the statement type). A
query that succeeded, but did not affect any rows (e.g. an UPDATE of a
non-existent record) will return TRUE. 

 if(Affected_rows == 0){
   return STRING "0 " (zero and space) THIS ERROR! need BOOLEAN true
 }else{
   return INTEGER n   --- this normal
 }



-- 
Edit bug report at http://bugs.php.net/?id=48189&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=48189&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=48189&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=48189&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=48189&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=48189&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=48189&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=48189&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=48189&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=48189&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=48189&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=48189&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=48189&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=48189&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=48189&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=48189&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=48189&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=48189&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=48189&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=48189&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=48189&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=48189&r=mysqlcfg

Reply via email to