[php-src] PHP-8.5: [skip ci] Disable opcache.file_cache_only for gh22782.phpt

Ilija Tovilo <[email protected]> Thu, 23 Jul 2026 11:34:13 +0000
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Ilija Tovilo (iluuu1994)
Date: 2026-07-23T13:27:00+02:00

Commit: https://github.com/php/php-src/commit/fd9e347fb9f110f7be76db9bc675065c8e65b74f
Raw diff: https://github.com/php/php-src/commit/fd9e347fb9f110f7be76db9bc675065c8e65b74f.diff

[skip ci] Disable opcache.file_cache_only for gh22782.phpt

Preloading is not compatible opcache.file_cache_only=0.

Changed paths:
  M  Zend/tests/first_class_callable/constexpr/gh22782.phpt


Diff:

diff --git a/Zend/tests/first_class_callable/constexpr/gh22782.phpt b/Zend/tests/first_class_callable/constexpr/gh22782.phpt
index b30820be9805..e2f5d007263e 100644
--- a/Zend/tests/first_class_callable/constexpr/gh22782.phpt
+++ b/Zend/tests/first_class_callable/constexpr/gh22782.phpt
@@ -7,6 +7,7 @@ opcache.enable=1
 opcache.enable_cli=1
 opcache.optimization_level=-1
 opcache.preload={PWD}/gh22782.inc
+opcache.file_cache_only=0
 --SKIPIF--
 <?php
 if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');