#26529 [Opn->Csd]: mysql_client_encoding - Wrong return type
| From: | didou@php.net | Date: | Fri, 05 Dec 2003 09:16:41 +0000 |
| Subject: | #26529 [Opn->Csd]: mysql_client_encoding - Wrong return type | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357199@lists.php.net to get a copy of this message | ||
ID: 26529
Updated by: didou@php.net
Reported By: phpbug at chipple dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-12-05 00:37:43] phpbug at chipple dot net
Description:
------------
The documentation says that the return type for mysql_client_encoding
is "int" while it should say "string".
http://www.php.net/manual/en/function.mysql-client-encoding.php
Expected result:
----------------
string mysql_client_encoding ( [resource link_identifier])
Actual result:
--------------
int mysql_client_encoding ( [resource link_identifier])
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26529&edit=1