Skip to content

Conversation

@adamziel
Copy link
Collaborator

@adamziel adamziel commented Oct 28, 2025

Motivation for the change, related issues

Adds support for SOAP extension to all PHP builds.

<plaintext>
<?php
//Create the client object
$soapclient = new SoapClient('https://www.w3schools.com/xml/tempconvert.asmx?WSDL');

//Use the functions of the client, the params of the function are in
//the associative array
$params = array('Celsius' => '25');
$response = $soapclient->CelsiusToFahrenheit($params);

var_dump($response);
// 77

// Get the Celsius degrees from the Farenheit
$param = array('Fahrenheit' => '77');
$response = $soapclient->FahrenheitToCelsius($param);

var_dump($response);
// 25

Supersedes #1986
Fixes #1236

Remaining work

  • Rebuild all PHP binaries
  • Remove the additional vitest options (stack trace length=100)

Testing Instructions (or ideally a Blueprint)

  • Go to /phpinfo.php, confirm the SOAP extension is enabled
  • Paste the script above as index.php in the code editor, refresh the WordPress homepage, confirm you see the expected responses

@adamziel adamziel marked this pull request as ready for review October 28, 2025 21:37
@adamziel
Copy link
Collaborator Author

The tests pass, the bundle size increases by ~350KB uncompressed, things are looking good – let's get it in!

@adamziel adamziel merged commit 47112d1 into trunk Oct 28, 2025
29 checks passed
@adamziel adamziel deleted the soap-extension branch October 28, 2025 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PHP SoapClient extension

2 participants