Forum und email

dbplus_resolve

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_resolve — Resolve 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.

Return值

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

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。

參見