#42833 [NEW]: mysqli_stmt::$num_rows is always 0
| From: | fumble1 at web dot de | Date: | Tue, 02 Oct 2007 18:18:41 +0000 |
| Subject: | #42833 [NEW]: mysqli_stmt::$num_rows is always 0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-118108@lists.php.net to get a copy of this message | ||
From: fumble1 at web dot de
Operating system: *
PHP version: 5.2.4
PHP Bug Type: MySQLi related
Bug description: mysqli_stmt::$num_rows is always 0
Description:
------------
See summary, nothing more to add. :)
Reproduce code:
---------------
http://pastebin.com/m306bbef8
Expected result:
----------------
int(1)
int(1)
Actual result:
--------------
int(1)
int(0)
--
Edit bug report at http://bugs.php.net/?id=42833&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42833&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42833&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42833&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42833&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42833&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42833&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42833&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42833&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42833&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42833&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42833&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42833&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42833&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42833&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42833&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42833&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42833&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42833&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42833&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42833&r=mysqlcfg