International PHP Conference Berlin 2023


(PHP 5, PHP 7, PHP 8)

SoapServer::getFunctionsReturns list of defined functions


public SoapServer::getFunctions(): array

Returns a list of the defined functions in the SoapServer object. This method returns the list of all functions added by SoapServer::addFunction() or SoapServer::setClass().


This function has no parameters.

Return Values

An array of the defined functions.


Example #1 SoapServer::getFunctions() example

= new SoapServer(NULL, array("uri" => "http://test-uri"));
if (
} else {
"This SOAP server can handle following functions: ";
$functions $server->getFunctions();
$functions as $func) {
$func "\n";

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top