PHP code execution from client side

I am researching the ability to use php SOAP client, I have learned it is a server side use, but that others have found ways to use it to retrieve information from servers. I cannot figure out how this is possible. I do believe it could be by sending an HTTP request with some sort of UI helper. If anyone has suggestions on where to look or ideas about it. Please let me know.