$files =$this->extractFiles($resource);foreach($filesas$file) {$this->parseTokens(token_get_all(file_get_contents($file)), $catalog);if(PHP_VERSION_ID >=70000) {// PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098gc_mem_caches(); } ...
gc_mem_caches— Reclaims memory used by the Zend Engine memory manager 说明 gc_mem_caches(): int Reclaims memory used by the Zend Engine memory manager. 参数 此函数没有参数。返回值 Returns the number of bytes freed. 参见 Garbage Collection User Contributed Notes There are no user contribut...