DB++ 函数
PHP 手册

dbplus_resolve

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)

dbplus_resolveResolve host information for relation

说明

array dbplus_resolve ( string $relation_name )

dbplus_resolve() will try to resolve the given relation_name and find out internal server id, real hostname and the database path on this host.

参数

relation_name

The relation name.

返回值

Returns an array containing these values under the keys sid, host and host_path or FALSE on error.

注释

Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

参见


DB++ 函数
PHP 手册