xref: /PHP-8.3/ext/soap/tests/bug80672.phpt (revision ac18dd0d)
1--TEST--
2Bug #80672 Null Dereference in SoapClient
3--EXTENSIONS--
4soap
5--FILE--
6<?php
7try {
8    $client = new SoapClient(__DIR__ . "/bug80672.xml");
9    $query = $soap->query(array('sXML' => 'something'));
10} catch(SoapFault $e) {
11    print $e->getMessage();
12}
13?>
14--EXPECT--
15SOAP-ERROR: Parsing WSDL: Unexpected WSDL element <>
16