Oracle 5.0 Reference Manual page 2745

Table of Contents

Advertisement

printf("%s(%s)\n", __METHOD__, var_export(func_get_args(), true));
$ret = parent::charsetName($res);
printf("%s returns %s\n", __METHOD__, var_export($ret, true));
return $ret;
}
}
mysqlnd_uh_set_connection_proxy(new proxy());
$mysqli = new mysqli("localhost", "root", "", "test");
var_dump(mysqli_character_set_name($mysqli));
?>
The above example will output:
proxy::charsetName(array (
0 => NULL,
))
proxy::charsetName returns 'latin1'
string(6) "latin1"
See Also
mysqlnd_uh_set_connection_proxy
mysqli_character_set_name
20.7.8.7.3.
MysqlndUhConnection::close
Copyright 1997-2012 the PHP Documentation Group. [2230]
MysqlndUhConnection::close
Closes a previously opened database connection
Description
public bool MysqlndUhConnection::close(
mysqlnd_connection connection,
int close_type);
Closes a previously opened database connection.
Parameters
connection
close_type
Return Values
Returns
TRUE
Mysqlnd user handler plugin (mysqlnd_uh)
Note
Failing to call the parent implementation may cause memory leaks or crash
PHP. This is not considered a bug. Please, keep in mind that the
library functions have never been designed to be exposed to the user space.
The connection to be closed. Do not modify!
Why the connection is to be closed. The value of
is one of
,
MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT
MYSQLND_UH_MYSQLND_CLOSE_DISCONNECTED
MYSQLND_UH_MYSQLND_CLOSE_LAST
seen, unless the default behaviour of the
changed by a plugin.
on success. Otherwise, returns
MYSQLND_UH_MYSQLND_CLOSE_EXPLICIT
FALSE
2725
mysqlnd
close_type
,
or
. The latter should never be
library has been
mysqlnd

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents