xref: /PHP-7.0/ext/soap/tests/bugs/bug29236.phpt (revision 9c64182a)
1--TEST--
2Bug #29236 (memory error when wsdl-cache is enabled)
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--INI--
6soap.wsdl_cache_enabled=1
7--FILE--
8<?php
9$client = new SoapClient(dirname(__FILE__)."/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