PHP Doku:: Gets xmlrpc type for a PHP value - function.xmlrpc-get-type.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzWeb ServicesXML-RPCXML-RPC Funktionenxmlrpc_get_type

Ein Service von Reinhard Neidl - Webprogrammierung.

XML-RPC Funktionen

<<xmlrpc_encode

xmlrpc_is_fault>>

xmlrpc_get_type

(PHP 4 >= 4.1.0, PHP 5)

xmlrpc_get_typeGets xmlrpc type for a PHP value

Beschreibung

string xmlrpc_get_type ( mixed $value )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

This function is especially useful for base64 and datetime strings.

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
hfuecks at pinkgoblin dot com
16.08.2002 19:41
This function returns the type of a PHP variable in XML-RPC terms. It won't "spot" base64 or iso8601 types unless they have been defined using xmlrpc_set_type().

For iso8601 type it returns "datetime".

Otherwise it returns strings corresponding directly the XML-RPC data types e.g. "struct","int","string","base64" etc.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)