From: jarnix at jarnix dot com Operating system: Windows XP SP2 PHP version: 5.1.0RC1 PHP Bug Type: MySQLi related Bug description: mysqli->set_charset is an undefined method
Description: ------------ set_charset method is undefined Reproduce code: --------------- $mysqli = new mysqli("localhost", "root", "", "mysql"); $mysqli->set_charset("utf8"); Expected result: ---------------- <nothing> Actual result: -------------- Fatal error: Call to undefined method mysqli::set_charset() (...) on line 2 -- Edit bug report at http://bugs.php.net/?id=34798&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34798&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34798&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34798&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34798&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34798&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34798&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34798&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34798&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34798&r=support Expected behavior: http://bugs.php.net/fix.php?id=34798&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34798&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34798&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34798&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34798&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34798&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34798&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34798&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34798&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34798&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34798&r=mysqlcfg