Doc #65021 [NEW]: Return values of a function

From: Date: Wed, 12 Jun 2013 23:48:47 +0000
Subject: Doc #65021 [NEW]: Return values of a function
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9926@lists.php.net to get a copy of this message
From: dexter92 dot mg at gmail dot com Operating system: PHP version: Irrelevant Package: MySQLi related Bug Type: Documentation Problem Bug description:Return values of a function Description: ------------ --- From manual page: http://www.php.net/mysqli.more-results#refsect1-mysqli.more-results-returnvalues --- "Returns TRUE on success or FALSE on failure". I suppose that text is copied from other MySQLi functions? I think it needs a clarification: the function, as stated in its description, indicates whether there are more result sets from a multi-query. So, it should return FALSE if there are no more results (and that is actually not a failure). It returns TRUE only when finding out there are more result sets. -- Edit bug report at https://bugs.php.net/bug.php?id=65021&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65021&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65021&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65021&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=65021&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=65021&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=65021&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=65021&r=needscript Try newer version: https://bugs.php.net/fix.php?id=65021&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=65021&r=support Expected behavior: https://bugs.php.net/fix.php?id=65021&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=65021&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=65021&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=65021&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65021&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=65021&r=dst IIS Stability: https://bugs.php.net/fix.php?id=65021&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=65021&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=65021&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=65021&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=65021&r=mysqlcfg

« previous php.doc.bugs (#9926) next »