xref: /PHP-8.1/ext/soap/tests/bugs/bug42359.phpt (revision 7f2f0c00)
1--TEST--
2Bug #42326 (SoapServer crash)
3--EXTENSIONS--
4soap
5--INI--
6soap.wsdl_cache_enabled=0
7--FILE--
8<?php
9$soap = new SoapClient(__DIR__."/bug42359.wsdl");
10print_r($soap->__getTypes());
11?>
12--EXPECT--
13Array
14(
15    [0] => list listItem {anonymous1}
16    [1] => string anonymous1
17    [2] => string enumItem
18    [3] => list listItem2 {enumItem}
19)
20