|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patchesdirectives.patch (last revision 2019-07-14 14:02 UTC by andy at amnuts dot com)Pull Requests
Pull requests: 
 HistoryAllCommentsChangesGit/SVN commits              [2019-07-14 14:05 UTC] andy at amnuts dot com
  [2019-07-15 08:33 UTC] nikic@php.net
  [2019-07-15 08:33 UTC] nikic@php.net
 
-Status: Open
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 03:00:01 2025 UTC | 
Description: ------------ New opcache directives have been added recently which are returned if using `ini_get_all('zend opcache')` but are not listed in the directives if using `opcache_get_configuration()`. Test script: --------------- <?php $opts = opcache_get_configuration()['directives']; $inis = ini_get_all('zend opcache'); var_dump(array_diff_key($inis, $opts)); ?> Expected result: ---------------- array(0) { } Actual result: -------------- array(4) { ["opcache.file_update_protection"]=> array(3) { ["global_value"]=> string(1) "2" ["local_value"]=> string(1) "2" ["access"]=> int(7) } ["opcache.huge_code_pages"]=> array(3) { ["global_value"]=> string(1) "0" ["local_value"]=> string(1) "0" ["access"]=> int(4) } ["opcache.opt_debug_level"]=> array(3) { ["global_value"]=> string(1) "0" ["local_value"]=> string(1) "0" ["access"]=> int(4) } ["opcache.restrict_api"]=> array(3) { ["global_value"]=> string(0) "" ["local_value"]=> string(0) "" ["access"]=> int(4) } }