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

From: Date: Tue, 29 Sep 2009 15:39:26 +0000
Subject: #49535 [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-2837@lists.php.net to get a copy of this message
ID: 49535 User updated by: the_djmaze at hotmail dot com Reported By: the_djmaze at hotmail dot com Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant Assigned To: abedford New Comment: So you mean they are static methods? Then the documentation was partial correct, the properties were just missing. Previous Comments: ------------------------------------------------------------------------ [2009-09-28 16:13:19] rquadling@php.net According to reflection, there are both methods AND properties related to getting the client info in the mysqli class, but only a property in relation to the client version. The mysqli_driver class only has properties for client info and version. ------------------------------------------------------------------------ [2009-09-28 14:27:39] abedford@php.net Now fixed in the XML sources. Thanks! ------------------------------------------------------------------------ [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 (#2837) next »