-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathbug00747.phpt
More file actions
21 lines (21 loc) · 665 Bytes
/
Copy pathbug00747.phpt
File metadata and controls
21 lines (21 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--TEST--
Test for bug #747: Xdebug and SOAP Server conflict
--SKIPIF--
<?php
require __DIR__ . '/../utils.inc';
check_reqs('ext soap');
?>
--INI--
xdebug.mode=develop
--FILE--
<?php
try {
$sc = new SoapServer("some-wrong.wsdl", array('exceptions' => true));
} catch (Exception $e) {
echo 'Error Caught';
}
?>
--EXPECTF--
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>WSDL</faultcode><faultstring>SOAP-ERROR: Parsing WSDL: Couldn't load from 'some-wrong.wsdl' : failed to load%s
</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>