From: dubaut at gmail dot com Operating system: irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: ambiguous documentation of mysqli_fetch_row
Description: ------------ In the documentation of mysqli_fetch_row [http://www.php.net/manual/de/function.mysqli-fetch-row.php] says the summary the function returns NULL if ther is no more row, in the detail documentation is the return value for mo more rows FALSE. Reproduce code: --------------- Returns an array that corresponds to the fetched row, or ***NULL*** if there are no more rows. mysqli_fetch_row() fetches one row of data from the result set represented by result and returns it as an enumerated array, where each column is stored in an array offset starting from 0 (zero). Each subsequent call to the mysqli_fetch_row() function will return the next row within the result set, or ***FALSE*** if there are no more rows. -- Edit bug report at http://bugs.php.net/?id=39243&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39243&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39243&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39243&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39243&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39243&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39243&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39243&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39243&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39243&r=support Expected behavior: http://bugs.php.net/fix.php?id=39243&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39243&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39243&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39243&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39243&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39243&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39243&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39243&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39243&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39243&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39243&r=mysqlcfg