Doc #65021 [Opn->Csd]: Return values of a function

From: Date: Mon, 24 Jun 2013 23:05:36 +0000
Subject: Doc #65021 [Opn->Csd]: Return values of a function
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9978@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65021&edit=1 ID: 65021 Updated by: philip@php.net Reported by: dexter92 dot mg at gmail dot com Summary: Return values of a function -Status: Open +Status: Closed Type: Documentation Problem Package: MySQLi related PHP Version: Irrelevant -Assigned To: +Assigned To: philip Block user comment: N Private report: N New Comment: This is fixed in SVN and php.net will be updated this upcoming Friday. Thank you for the bug report! Previous Comments: ------------------------------------------------------------------------ [2013-06-24 23:04:14] philip@php.net Automatic comment from SVN on behalf of philip Revision: http://svn.php.net/viewvc/?view=revision&revision=330633 Log: Clarified return value, as per PHP Bug #65021 ------------------------------------------------------------------------ [2013-06-12 23:48:47] dexter92 dot mg at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=65021&edit=1

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