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

From: Date: Mon, 28 Sep 2009 13:21:27 +0000
Subject: Re: #49535 [Opn->Asn]: mysqli::get_client_info/get_client_version are properties
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969380938@lists.php.net to get a copy of this message
Hi Anthony 2009/9/28 Anthony Bedford <Anthony.Bedford@sun.com>: > Obviously, something is not right (the properties don't seem to have the > correct info), or I am doing something wrong (more likely!). Can anyone spot > the problem? Thats because the properties is called 'client_info' and 'client_version', not prefixed with get as its procedural equal: C:\php\six\Release_TS>php -r "$mysqli = new mysqli('localhost', 'root', ''); var_dump($mysqli->client_info, $mysqli->client_version);" unicode(48) "mysqlnd 5.0.5-dev - 081106 - $Revision: 288379 $" int(50005) -- regrads, Kalle Sommer Nielsen kalle@php.net

« previous php.doc (#969380938) next »