#26529 [NEW]: mysql_client_encoding - Wrong return type
| From: | phpbug at chipple dot net | Date: | Fri, 05 Dec 2003 05:37:44 +0000 |
| Subject: | #26529 [NEW]: mysql_client_encoding - Wrong return type | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969357196@lists.php.net to get a copy of this message | ||
From: phpbug at chipple dot net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: mysql_client_encoding - Wrong return type
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 bug report at http://bugs.php.net/?id=26529&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26529&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26529&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26529&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26529&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26529&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26529&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26529&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26529&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26529&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26529&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26529&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26529&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26529&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26529&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26529&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26529&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26529&r=float