<p>I know how to disable <a href="https://stackoverflow.com/questions/303488/in-php-how-can-you-clear-a-wsdl-cache">WSDL-cache</a> in PHP, but what about force a re-caching of the WSDL? </p>

<p>This is what i tried: I run my code with caching set to disabled, and the new methods showed up as espected. Then I activated caching, but of some reason my old non-working wsdl showed up again. So: how can I force my new WSDL to overwrite my old cache?</p>

I'd try
```
```
$limit = ini_get('soap.wsdl_cache_limit');
ini_set('soap.wsdl_cache_limit', 0);
ini_set('soap.wsdl_cache_limit', $limit);
```
```
Or possibly set
```
soap.wsdl_cache_ttl
```
to 0 and back