mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
For rationale, see #6787 Extensions migrated in part 4: * simplexml * skeleton * soap * spl * sqlite3 * sysvmsg * sysvsem * tidy - also removed a check for an ancient dependency version
19 lines
436 B
PHP
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
|