切記! |
這個延伸是實驗性質的。這個延伸的行為 -- 包括函數名稱和包含此延伸的任何其它文件 -- 在未來PHP的發行中可能會在不通知的情況改變。使用此延伸需自行承擔風險。 |
The SOAP extension can be used to write SOAP Servers and Clients. It supports subsets of SOAP 1.1, SOAP 1.2 and WSDL 1.1 specifications.
This extension makes use of the GNOME xml library. Download and install this library. You will need at least libxml-2.5.4.
This extension is only available if PHP was configured with --enable-soap.
php.ini中的設定會影響這些函數的行為。
表格 1.SOAP Configuration Options
Name | Default | Changeable |
---|---|---|
soap.wsdl_cache_enabled | "1" | PHP_INI_ALL |
soap.wsdl_cache_dir | "/tmp" | PHP_INI_ALL |
soap.wsdl_cache_ttl | 86400 | PHP_INI_ALL |
這裡為簡短的結構指令說明。
以下的常數由此延伸定義,只在這個延伸被編譯成PHP或實行時期被動態載入時有效。