1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/soap/tests/bugs/bug79357.phpt
Niels Dossche a70fd5386b Move regression tests of SOAP to bugs directory (#14322)
There's a bugs directory but it wasn't always used, move the regression
tests to this directory.
2024-05-27 19:21:35 +02:00

19 lines
436 B
PHP

--TEST--
Bug #79357: SOAP request segfaults when any request parameter is missing
--EXTENSIONS--
soap
--FILE--
<?php
$sc = new SoapClient(__DIR__ . '/bug79357.wsdl');
$res = $sc->Add(['intA'=>1]);
var_dump($res);
?>
--EXPECTF--
Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object has no 'intB' property in %s:%d
Stack trace:
#0 %s(%d): SoapClient->__call('Add', Array)
#1 {main}
thrown in %s on line %d