On line 77 of the mysqli_driver.inc the
mysqli_select_db() function has its parameters in the
wrong order. The error (Warning level) is suppressed by
the @ prefixed to the function call - this does not
break the driver which manages to work anyway (idiot
proofing in the mysqli library I think).
I caught it after implementing an error handler which
captures the contents of the temp $php_errormsg
variable (populated when a function call error is
suppressed with @). Since the handler catches all
errors being suppressed, this seems an isolated one for
the MySQLi driver. It's working normally with the fix.
Happy bug squishing! :)