Searched refs:mem_cache (Results 1 – 3 of 3) sorted by relevance
/PHP-7.2/ext/soap/ |
H A D | php_soap.h | 174 HashTable *mem_cache; variable
|
H A D | php_sdl.c | 3179 if ((cache_wsdl & WSDL_CACHE_MEMORY) && SOAP_GLOBAL(mem_cache)) { in get_sdl() 3182 if (NULL != (p = zend_hash_str_find_ptr(SOAP_GLOBAL(mem_cache), uri, uri_len))) { in get_sdl() 3338 if (SOAP_GLOBAL(mem_cache) == NULL) { in get_sdl() 3339 SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); in get_sdl() 3340 zend_hash_init(SOAP_GLOBAL(mem_cache), 0, NULL, delete_psdl, 1); in get_sdl() 3342 … SOAP_GLOBAL(cache_limit) <= (zend_long)zend_hash_num_elements(SOAP_GLOBAL(mem_cache))) { in get_sdl() 3348 ZEND_HASH_FOREACH_STR_KEY_PTR(SOAP_GLOBAL(mem_cache), key, q) { in get_sdl() 3355 zend_hash_del(SOAP_GLOBAL(mem_cache), latest_key); in get_sdl() 3366 if (NULL != zend_hash_str_update_mem(SOAP_GLOBAL(mem_cache), uri, in get_sdl()
|
H A D | soap.c | 580 soap_globals->mem_cache = NULL; in php_soap_init_globals() 590 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION() 591 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION() 592 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
|
Completed in 45 milliseconds