bug29236.phpt 567 B

12345678910111213141516171819202122
  1. --TEST--
  2. Bug #29236 (memory error when wsdl-cache is enabled)
  3. --EXTENSIONS--
  4. soap
  5. --INI--
  6. soap.wsdl_cache_enabled=1
  7. --FILE--
  8. <?php
  9. $client = new SoapClient(__DIR__."/bug29236.wsdl");
  10. var_dump($client->__getFunctions());
  11. ?>
  12. --EXPECT--
  13. array(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. }