Advertisement
Guest User

Untitled

a guest
Jul 8th, 2015
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. <?php
  2.  
  3. // this script do NOT reproduce the crash
  4.  
  5. ini_set('soap.wsdl_cache_enabled', '0');
  6. $wsdlUrl = "http://trunk-tv1-services-php7test1.brainsonic.com/wsdl_test";
  7. echo "\nbefore first soap client construct\n";
  8.  
  9. $soapClient = new SoapClient($wsdlUrl);
  10. echo "\nafter first soap client construct\n";
  11.  
  12. $method = "getPlaylistFolderConfig";
  13. $params = unserialize('a:9:{s:16:"playlistFolderId";i:1;s:10:"maxPerPage";i:5;s:4:"page";i:1;s:21:"additionnalParameters";s:0:"";s:9:"sessionId";s:0:"";s:6:"APIKey";s:10:"brainsonic";s:6:"format";s:0:"";s:14:"login_username";s:0:"";s:14:"login_password";s:0:"";}');
  14. var_dump($params);
  15. $ret = call_user_func_array(array($soapClient, $method), $params);
  16. var_dump($ret);
  17. unset($soapClient);
  18. $soapClient = null;
  19.  
  20. ini_set('soap.wsdl_cache_enabled', '0');
  21. $soapClient2 = new SoapClient($wsdlUrl);
  22. echo "\nend soap client construct\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement