diff options
Diffstat (limited to 'ext/soap/tests/bugs/bug34449.phpt')
-rwxr-xr-x | ext/soap/tests/bugs/bug34449.phpt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ext/soap/tests/bugs/bug34449.phpt b/ext/soap/tests/bugs/bug34449.phpt deleted file mode 100755 index 5aa30bbcac..0000000000 --- a/ext/soap/tests/bugs/bug34449.phpt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -Bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) ---SKIPIF-- -<?php require_once('skipif.inc'); ?> ---FILE-- -<?php -class TestSoapClient extends SoapClient { - function __doRequest($request, $location, $action, $version) { - echo "$request\n"; - exit; - } -} - -$my_xml = "<array><item/><item/><item/></array>"; -$client = new TestSoapClient(null, array('location' => 'test://', 'uri' => 'test://')); -$client->AnyFunction(new SoapVar($my_xml, XSD_ANYXML)); -?> ---EXPECT-- -<?xml version="1.0" encoding="UTF-8"?> -<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="test://" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:AnyFunction><array><item/><item/><item/></array></ns1:AnyFunction></SOAP-ENV:Body></SOAP-ENV:Envelope> |