ID: 36863
Updated by: [EMAIL PROTECTED]
Reported By: joustin at post dot pl
-Status: Open
+Status: Bogus
Bug Type: MySQLi related
Operating System: Windows
PHP Version: 5.1.2
New Comment:
It doesn't depend on the version you have installed, it depends on the
version it was built against.
AFAIK 4.x is used for Windows builds.
Previous Comments:
------------------------------------------------------------------------
[2006-03-26 13:00:34] joustin at post dot pl
Description:
------------
MYSQL Client API version 5.0.18
PHP 5.1.2 (cli) (built: Jan 11 2006 16:40:00)
Cannot call set_charset method of mysqli object!
Reproduce code:
---------------
$c = new mysqli('localhost','root','','test');
if($c)
var_dump(method_exists($c,'set_charset'));
Expected result:
----------------
true
Actual result:
--------------
false
Export Table:
Name: LIBMYSQL.dll
Time Date Stamp: 0x43B2E430 (2005-12-28 21:14:56)
Version: 0.00
Ordinal Base: 1
Number of Functions: 150
Number of Names: 150
Ordinal Entry Point Name
[...]
58 0x00014E50 mysql_get_character_set_info
59 0x00014D20 mysql_get_client_info
[...]
99 0x00003BB0 mysql_set_character_set
[...]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36863&edit=1