summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bug80672.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests/bug80672.phpt')
-rw-r--r--ext/soap/tests/bug80672.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/soap/tests/bug80672.phpt b/ext/soap/tests/bug80672.phpt
new file mode 100644
index 0000000000..71e2b1d841
--- /dev/null
+++ b/ext/soap/tests/bug80672.phpt
@@ -0,0 +1,15 @@
+--TEST--
+Bug #80672 Null Dereference in SoapClient
+--SKIPIF--
+<?php require_once('skipif.inc'); ?>
+--FILE--
+<?php
+try {
+ $client = new SoapClient(__DIR__ . "/bug80672.xml");
+ $query = $soap->query(array('sXML' => 'something'));
+} catch(SoapFault $e) {
+ print $e->getMessage();
+}
+?>
+--EXPECTF--
+SOAP-ERROR: Parsing WSDL: Unexpected WSDL element <> \ No newline at end of file