xref: /PHP-7.3/ext/soap/tests/bug80672.phpt (revision 3c939e3f)
1--TEST--
2Bug #80672 Null Dereference in SoapClient
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
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--EXPECTF--
15SOAP-ERROR: Parsing WSDL: Unexpected WSDL element <>