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

Description

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

הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של PHP. השתמש בתוספת זאת על אחריותך בלבד.

Parameters

value

Value to set the type

type

'base64' or 'datetime'

Return Values

מחזירה TRUE בעת הצלחה או FALSE בעת כישלון. If successful, value is converted to an object.

Errors/Exceptions

Issues E_WARNING with type unsupported by XMLRPC.