#38281 [Opn->Bgs]: Shouldn't example for mysqli_query be $result->free() and not $result->close()?

From: Date: Tue, 05 Sep 2006 18:41:06 +0000
Subject: #38281 [Opn->Bgs]: Shouldn't example for mysqli_query be $result->free() and not $result->close()?
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373917@lists.php.net to get a copy of this message
ID: 38281 Updated by: colder@php.net Reported By: seth at psydpu dot adsl dot dk -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: linux PHP Version: Irrelevant New Comment: "Object oriented style (all methods are equivalent): class mysqli_result { void free ( void ) void close ( void ) void free_result ( void ) }" Previous Comments: ------------------------------------------------------------------------ [2006-09-05 16:38:30] bjori@php.net reclassified as docu problem ------------------------------------------------------------------------ [2006-08-01 10:44:56] seth at psydpu dot adsl dot dk Description: ------------ http://uk.php.net/manual/en/function.mysqli-query.php Under: Example 1.Object oriented style /* free result set */ $result->close(); Shouldn't this be: $result->free(); NB: Similar to Bug #35055: Error in mysqli_fetch_object() example ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38281&edit=1

« previous php.doc (#969373917) next »