[PHP-DEV] opcache_is_script_cached(...) for file cache

2024-11-28 Thread Samuel Melrose
t SHM. @Ilija Tovilo has suggested that it might be less confusing to make it its own function, which I'm happy to do. Does anyone want to weigh in on what you think of this functionality, and if/how you'd like to see it implemented? Regards, Samuel Melrose

Re: [PHP-DEV] opcache_compile_file() declares top-level functions

2024-11-21 Thread Samuel Melrose
d double declaration. I'd be very happy with your change to the behaviour, and if it lands in 8.5, it would hopefully complement my change which should have more people using `opcache_compile_file` with/in Docker container builds. Regards, Samuel Melrose On Wed, Nov 20, 2024 at 9:24 PM Il

[PHP-DEV] RFC: Support Read-Only opcache.file_cache for use with Docker

2024-10-23 Thread Samuel Melrose
Hello, Following on from a chat with some very helpful contributors on GitHub (https://github.com/php/php-src/issues/16484), I'd like to request feedback on a change and potentially put it forward as an RFC please. Change Description: The `opcache.file_cache` folder must currently be writable, b