<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Get configuration information about the cache</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.opcache-compile-file.html">opcache_compile_file</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.opcache-get-status.html">opcache_get_status</a></div> <div class="up"><a href="ref.opcache.html">OPcache Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.opcache-get-configuration" class="refentry"> <div class="refnamediv"> <h1 class="refname">opcache_get_configuration</h1> <p class="verinfo">(PHP 5 >= 5.5.5, PECL ZendOpcache > 7.0.2)</p><p class="refpurpose"><span class="refname">opcache_get_configuration</span> — <span class="dc-title">Get configuration information about the cache</span></p> </div> <div class="refsect1 description" id="refsect1-function.opcache-get-configuration-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">array</span> <span class="methodname"><strong>opcache_get_configuration</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> This function returns configuration information about the cache instance </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.opcache-get-configuration-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns an array of information, including ini, blacklist and version </p> </div> <div class="refsect1 errors" id="refsect1-function.opcache-get-configuration-errors"> <h3 class="title">Errors/Exceptions</h3> <p class="para"> If <em>opcache.restrict_api</em> is in use and the current path is in violation of the rule, an E_WARNING will be raised; no status information will be returned. </p> </div> <div class="refsect1 seealso" id="refsect1-function.opcache-get-configuration-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.opcache-get-status.html" class="function" rel="rdfs-seeAlso">opcache_get_status()</a> - Get status information about the cache</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.opcache-compile-file.html">opcache_compile_file</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.opcache-get-status.html">opcache_get_status</a></div> <div class="up"><a href="ref.opcache.html">OPcache Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>