#49535 [Asn->Csd]: mysqli::get_client_info/get_client_version are properties

From: Date: Mon, 28 Sep 2009 14:27:40 +0000
Subject: #49535 [Asn->Csd]: mysqli::get_client_info/get_client_version are properties
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2829@lists.php.net to get a copy of this message
ID: 49535 Updated by: abedford@php.net Reported By: the_djmaze at hotmail dot com -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant Assigned To: abedford New Comment: Now fixed in the XML sources. Thanks! Previous Comments: ------------------------------------------------------------------------ [2009-09-28 14:14:56] svn@php.net Automatic comment from SVN on behalf of abedford Revision: http://svn.php.net/viewvc/?view=revision&revision=288902 Log: Fixed bug #49535. client_version and client_info are properties, not methods. Corrected summary table accordingly, as well as main entries. ------------------------------------------------------------------------ [2009-09-11 19:27:36] the_djmaze at hotmail dot com Description: ------------ Documention is incorrect because they are properties. Reproduce code: --------------- According to: http://php.net/manual/en/mysqli.get-client-info.php This is: string mysqli::get_client_info ( void ) Should be: string mysqli->client_info According to: http://php.net/manual/en/mysqli.get-client-version.php This is: string mysqli::get_client_version ( void ) Should be: string mysqli->client_version Expected result: ---------------- method Actual result: -------------- property ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49535&edit=1

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