Installs a proxy for mysqlnd statements
bool mysqlnd_uh_set_statement_proxy(MysqlndUhStatement statement_proxy);
Installs a proxy for mysqlnd statements. The proxy object will be used for all mysqlnd prepared statement objects, regardless which PHP MySQL extension (mysqli, mysql, PDO_MYSQL) has created them as long as the extension is compiled to use the mysqlnd library.
The function can be disabled with
is set to
FALSE the function will not
install the proxy and always return
Additionally, an error of the type
may be emitted. The error message may read like
Warning: mysqlnd_uh_set_statement_proxy(): (Mysqlnd User
Handler) The plugin has been disabled by setting the
configuration parameter mysqlnd_uh.enable = false. The proxy has
not been installed [...].
The mysqlnd statement proxy object of type
TRUE on success. Otherwise, returns
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices