xref: /PHP-8.3/ext/soap/tests/bugs/bug29236.phpt (revision 7f2f0c00)
1--TEST--
2Bug #29236 (memory error when wsdl-cache is enabled)
3--EXTENSIONS--
4soap
5--INI--
6soap.wsdl_cache_enabled=1
7--FILE--
8<?php
9$client = new SoapClient(__DIR__."/bug29236.wsdl");
10var_dump($client->__getFunctions());
11?>
12--EXPECT--
13array(4) {
14  [0]=>
15  string(59) "StartSessionResponse StartSession(StartSession $parameters)"
16  [1]=>
17  string(62) "VerifySessionResponse VerifySession(VerifySession $parameters)"
18  [2]=>
19  string(41) "LogoutResponse Logout(Logout $parameters)"
20  [3]=>
21  string(62) "GetSystemInfoResponse GetSystemInfo(GetSystemInfo $parameters)"
22}
23