From: daarius at hotmail dot com Operating system: WinXP PHP version: 5.0.4 PHP Bug Type: MySQLi related Bug description: parent::real_connect() can not be used, hence cant use option flags.
Description: ------------ class mydb extends mysqli { public function __construct() { parent::real_connect(); // can not use parent::__construct(); // doesnt support 7th parameter of flags. } } as above, the real_connect() gives some errors, and may be not allowed to be used, but in there the 7th parameter of flags are not present in connect() of mysqli. so what to do? also, as real_connect() is not allowed, i can not use parent::options() for setting the config options before connect. as this gives errors too. -- Edit bug report at http://bugs.php.net/?id=33263&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33263&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33263&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33263&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33263&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33263&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33263&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33263&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33263&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33263&r=support Expected behavior: http://bugs.php.net/fix.php?id=33263&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33263&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33263&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33263&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33263&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33263&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33263&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33263&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33263&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33263&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33263&r=mysqlcfg