1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 00:32:23 +01:00

4 Commits

Author SHA1 Message Date
Ilija Tovilo
c69f04dbab Fix borked test 2025-08-06 22:25:14 +02:00
Arnaud Le Blanc
7af4709d38 Fix test 2025-08-06 19:57:32 +02:00
Arnaud Le Blanc
c105571052 Fix test 2025-08-06 19:55:56 +02:00
Arnaud Le Blanc
32290b3529 Add opcache_preloading() internal function
Add a C function, opcache_preloading(), that returns true during
preloading. Extensions can use this to detect preloading, not only during
compilation/execution, but also in RINIT()/RSHUTDOWN().

Since opcache currently doesn't install any header, I'm adding a new one:
zend_accelerator_api.h. Header name is based on other files in ext/opcache.

Closes GH-19288
2025-08-06 18:21:19 +02:00