/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
soap
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/soap/tests/bug69668.phpt
--TEST-- Bug #69668 (SOAP: special XML characters in namespace URIs not encoded) --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php class MySoapClient extends SoapClient { public function __doRequest($request, $location, $action, $version, $one_way = 0) { echo $request, PHP_EOL; return ''; } } $client = new MySoapClient(__DIR__ . '/bug69668.wsdl', [ 'trace' => true, 'exceptions' => true, 'cache_wsdl' => WSDL_CACHE_NONE, ]); $client->test(); ?> --EXPECT-- <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://localhost/69668.php?a=a&b=b" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:test/></SOAP-ENV:Body></SOAP-ENV:Envelope>
Copyright ©2k19 -
Hexid
|
Tex7ure