Most PHP apps that require XML-RPC use an XML-RPC client library written in PHP. For example, you can use this popular PHP XML-RPC library.
PHP also has an XML-RPC extension that provides built-in xmlrpc functions. This extension is available in PHP 5.5, 5.6, 7.0, 7.1, 7.2, and 7.3.