April 2026
Intermediate
1009 pages
34h 15m
English
PHP-SOAP is the standard web services library in PHP. At the beginning there was some discussion about this: Is a new library really necessary, or is it better to port an existing one to C? The main reason for a C-based PHP extension is performance. The new development was chosen in the end to be able to build from scratch on a greenfield site and not drag along any legacy code. In addition, libxml could be chosen as the basis, which further standardizes XML support in PHP.
The server is created quickly:
The SoapServer object contains everything important. The first parameter is for WSDL. As we are not using WSDL here, but a normal SOAP call, we pass null. The second parameter is an associative array with ...
Read now
Unlock full access