note 86614 added to mysqli.get-client-version
| From: | federico_raz at yahoo dot it | Date: | Sun, 26 Oct 2008 14:44:05 +0000 |
| Subject: | note 86614 added to mysqli.get-client-version | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145774@lists.php.net to get a copy of this message | ||
It seems that this function does not exists on 5.2.4.
The code:
<?php
$mi = new mysqli('localhost', 'root', 'root');
echo $mi->get_client_info();
echo '<br>';
echo $mi->get_client_version();
?>
The output:
---------
5.0.51a
Fatal error: Call to undefined method mysqli::get_client_version() in /var/www/test.php on line 7
---------
I don know if the function should be there and this is a mysqli driver's critical bug, or if
the function shouldn't exists and the documentation is wrong, so I won't open a bug in
your bugzilla.
----
Server IP: 80.241.173.254
Probable Submitter: 151.57.151.75
----
Manual Page -- http://www.php.net/manual/en/mysqli.get-client-version.php
Edit -- https://master.php.net/note/edit/86614
Del: integrated -- https://master.php.net/note/delete/86614/integrated
Del: useless -- https://master.php.net/note/delete/86614/useless
Del: bad code -- https://master.php.net/note/delete/86614/bad+code
Del: spam -- https://master.php.net/note/delete/86614/spam
Del: non-english -- https://master.php.net/note/delete/86614/non-english
Del: in docs -- https://master.php.net/note/delete/86614/in+docs
Del: other reasons-- https://master.php.net/note/delete/86614
Reject -- https://master.php.net/note/reject/86614
Search -- https://master.php.net/manage/user-notes.php