We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f8a72 commit 3e9792fCopy full SHA for 3e9792f
NEWS
@@ -21,6 +21,8 @@ PHP NEWS
21
- Opcache:
22
. Fixed bug GH-11715 (opcache.interned_strings_buffer either has no effect or
23
opcache_get_status() / phpinfo() is wrong). (nielsdos)
24
+ . Avoid adding an unnecessary read-lock when loading script from shm if
25
+ restart is in progress. (mikhainin)
26
27
- Standard:
28
. Prevent int overflow on $decimals in number_format. (Marc Bennewitz)
ext/opcache/zend_file_cache.c
@@ -1786,6 +1786,7 @@ zend_persistent_script *zend_file_cache_script_load(zend_file_handle *file_handl
1786
1787
if (!file_cache_only &&
1788
!ZCSG(restart_in_progress) &&
1789
+ !ZCSG(restart_pending) &&
1790
!ZSMMG(memory_exhausted) &&
1791
accelerator_shm_read_lock() == SUCCESS) {
1792
/* exclusive lock */
0 commit comments