XML-RPC Functions
소개
These functions can be used to write XML-RPC servers and clients. You can find more information about XML-RPC at » https://www.xmlrpc.com/, and more documentation on this extension and its functions at » https://xmlrpc-epi.sourceforge.net/.
이 확장 모듈은 실험적입니다. 이 확장 모듈의 작동 -- 함수의 이름과 이 확장 모듈에 대한 모든 문서 자료에 대해서 -- 은 이후의 PHP 릴리즈에서 예고 없이 변경될 수 있습니다. 이 확장 모듈의 사용은 사용자의 책임하에 이루어집니다.
요구 조건
이 확장을 빌드할 때 외부 라이브러리가 필요하지 않습니다.
설치
XML-RPC support in PHP is not enabled by default. You will need to use the --with-xmlrpc[=DIR] configuration option when compiling PHP to enable XML-RPC support. This extension is bundled into PHP as of 4.1.0.
실행시 설정
이 함수의 작동은 php.ini 설정에 영향을 받습니다.
Name | Default | Changeable | Changelog |
---|---|---|---|
xmlrpc_errors | "0" | PHP_INI_SYSTEM | Available since PHP 4.1.0. |
xmlrpc_error_number | "0" | PHP_INI_ALL | Available since PHP 4.1.0. |
자원형
This extension defines a XML-RPC server resource returned by xmlrpc_server_create().
예약 상수
이 확장은 상수를 정의하지 않습니다.
Table of Contents
- xmlrpc_decode_request — Decodes XML into native PHP types
- xmlrpc_decode — Decodes XML into native PHP types
- xmlrpc_encode_request — Generates XML for a method request
- xmlrpc_encode — Generates XML for a PHP value
- xmlrpc_get_type — Gets xmlrpc type for a PHP value
- xmlrpc_is_fault — Determines if an array value represents an XMLRPC fault
- xmlrpc_parse_method_descriptions — Decodes XML into a list of method descriptions
- xmlrpc_server_add_introspection_data — Adds introspection documentation
- xmlrpc_server_call_method — Parses XML requests and call methods
- xmlrpc_server_create — Creates an xmlrpc server
- xmlrpc_server_destroy — Destroys server resources
- xmlrpc_server_register_introspection_callback — Register a PHP function to generate documentation
- xmlrpc_server_register_method — Register a PHP function to resource method matching method_name
- xmlrpc_set_type — Sets xmlrpc type, base64 or datetime, for a PHP string value