1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00
Files
archived-php-src/ext/soap/tests/bug80672.phpt
2021-06-29 17:13:02 +02:00

16 lines
327 B
PHP

--TEST--
Bug #80672 Null Dereference in SoapClient
--EXTENSIONS--
soap
--FILE--
<?php
try {
$client = new SoapClient(__DIR__ . "/bug80672.xml");
$query = $soap->query(array('sXML' => 'something'));
} catch(SoapFault $e) {
print $e->getMessage();
}
?>
--EXPECT--
SOAP-ERROR: Parsing WSDL: Unexpected WSDL element <>