[GIT-PULLS] [php-src] PR #22784: run-tests: Clear the file cache directory in --file-cache-prime

[email protected] (arnaud-lb) Fri, 17 Jul 2026 12:46:01 +0000
Newsgroups php.git-pulls
Message-ID <Ke4503y9r85qkIVfDGGechkC9n1uuiiAnqybGDSPVP4@main.internal.php.net>
Pull Request: https://github.com/php/php-src/pull/22784
Author: arnaud-lb

`run-tests.php --file-cache-prime` sets `opcache.file_cache` to `/tmp` which makes it difficult to clear the cache.

Set `opcache.file_cache` to `/tmp/php-run-tests-file-cache`, and clear the directory when `--file-cache-prime` is specified.