]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.4'
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 15 Jul 2019 08:29:45 +0000 (10:29 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 15 Jul 2019 08:33:31 +0000 (10:33 +0200)
1  2 
ext/opcache/zend_accelerator_module.c

index 33dd6ef284fb788a67ab47f5b35800d4740c240c,a8a1fc99a6a3088d8c1fd612014dc4f0e8197ade..e390a2fe6dcd8714ffb4eb807aac1cf2f84bdfe7
@@@ -779,6 -760,17 +781,20 @@@ static ZEND_FUNCTION(opcache_get_config
        add_assoc_string(&directives, "opcache.file_cache",                    ZCG(accel_directives).file_cache ? ZCG(accel_directives).file_cache : "");
        add_assoc_bool(&directives,   "opcache.file_cache_only",               ZCG(accel_directives).file_cache_only);
        add_assoc_bool(&directives,   "opcache.file_cache_consistency_checks", ZCG(accel_directives).file_cache_consistency_checks);
+ #if ENABLE_FILE_CACHE_FALLBACK
+       add_assoc_bool(&directives,   "opcache.file_cache_fallback",           ZCG(accel_directives).file_cache_fallback);
+ #endif
+       add_assoc_long(&directives,   "opcache.file_update_protection",  ZCG(accel_directives).file_update_protection);
+       add_assoc_long(&directives,   "opcache.opt_debug_level",         ZCG(accel_directives).opt_debug_level);
+       add_assoc_string(&directives, "opcache.restrict_api",            STRING_NOT_NULL(ZCG(accel_directives).restrict_api));
+ #ifdef HAVE_HUGE_CODE_PAGES
+       add_assoc_bool(&directives,   "opcache.huge_code_pages",         ZCG(accel_directives).huge_code_pages);
+ #endif
+       add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload));
++      add_assoc_long(&directives,   "opcache.jit", ZCG(accel_directives).jit);
++      add_assoc_long(&directives,   "opcache.jit_buffer_size", ZCG(accel_directives).jit_buffer_size);
++      add_assoc_long(&directives,   "opcache.jit_debug", ZCG(accel_directives).jit_debug);
  
        add_assoc_zval(return_value, "directives", &directives);