From: dan at yes dot lt Operating system: winxp PHP version: 5CVS-2005-05-11 (dev) PHP Bug Type: MySQLi related Bug description: mysqli do not support float type
Description: ------------ mysqli do not supports float type neither in results nor in params. for result it returns NULL instead of float, for params there is no type letter for float type... Reproduce code: --------------- $db = new mysqli(...); $st = $db->prepare("SELECT 1.23 AS test"); $st->execute(); $st->store_result(); var_dump($st->num_rows); $st->bind_result($x); $st->fetch(); $st->free_result(); $st->close(); var_dump($x); Expected result: ---------------- int(1) float(1.23) Actual result: -------------- int(1) NULL -- Edit bug report at http://bugs.php.net/?id=33005&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33005&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33005&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33005&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33005&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33005&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33005&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33005&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33005&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33005&r=support Expected behavior: http://bugs.php.net/fix.php?id=33005&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33005&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33005&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33005&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33005&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33005&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33005&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33005&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33005&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33005&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33005&r=mysqlcfg