Forum und email

xmlrpc_set_type

(PHP 4 >= 4.0.7, PHP 5)

xmlrpc_set_type — Sets xmlrpc type, base64 or datetime, for a PHP string value

說明

bool xmlrpc_set_type ( string &$value , string $type )
Warning

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

參數

value

Value to set the type

type

'base64' or 'datetime'

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE。 If successful, value is converted to an object.

錯誤/例外

Issues E_WARNING with type unsupported by XMLRPC.