1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Files
Christoph M. Becker e014b5f506 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix failing soap tests on Windows
2024-09-27 19:59:30 +02:00

34 lines
500 B
PHP

--TEST--
SOAP Server 11: bind
--SKIPIF--
<?php
if (PHP_OS_FAMILY === "Windows") {
die("skip currently unsupported on Windows");
}
?>
--EXTENSIONS--
soap
--GET--
wsdl
--INI--
soap.wsdl_cache_enabled=0
--FILE--
<?php
function Add($x,$y) {
return $x+$y;
}
$server = new soapserver(__DIR__."/test.wsdl");
ob_start();
$server->handle();
$wsdl = ob_get_contents();
ob_end_clean();
if ($wsdl == file_get_contents(__DIR__."/test.wsdl")) {
echo "ok\n";
} else {
echo "fail\n";
}
?>
--EXPECT--
ok