|
PHP5中文手册
sybase_set_message_handler(PHP 4 >= 4.3.0, PHP 5) sybase_set_message_handler — Sets the handler called when a server message is raised 说明
bool sybase_set_message_handler
( callback $handler
[, resource $connection
] )
sybase_set_message_handler() sets a user function to handle messages generated by the server. You may specify the name of a global function, or use an array to specify an object reference and a method name. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 更新日志
范例
Example#1 sybase_set_message_handler() callback function
<?php Example#2 sybase_set_message_handler() callback to a class
<?php Example#3 sybase_set_message_handler() unhandled messages
<?php 注释
|