<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.opcache.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'es',
  ),
  'this' => 
  array (
    0 => 'function.opcache-jit-blacklist.php',
    1 => 'opcache_jit_blacklist',
    2 => 'Excluye una funci&oacute;n de la compilaci&oacute;n JIT',
  ),
  'up' => 
  array (
    0 => 'ref.opcache.php',
    1 => 'Funciones de OPcache',
  ),
  'prev' => 
  array (
    0 => 'function.opcache-is-script-cached-in-file-cache.php',
    1 => 'opcache_is_script_cached_in_file_cache',
  ),
  'next' => 
  array (
    0 => 'function.opcache-reset.php',
    1 => 'opcache_reset',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'es',
    'path' => 'reference/opcache/functions/opcache-jit-blacklist.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.opcache-jit-blacklist" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">opcache_jit_blacklist</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.4.0)</p><p class="refpurpose"><span class="refname">opcache_jit_blacklist</span> &mdash; <span class="dc-title">Excluye una función de la compilación JIT</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.opcache-jit-blacklist-description">
  <h3 class="title">Descripción</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>opcache_jit_blacklist</strong></span>(<span class="methodparam">
    
    <span class="type"><a href="class.closure.php" class="type Closure">Closure</a></span> <code class="parameter">$closure</code>
   </span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="simpara">
   Esta función excluye una función particular de la compilación JIT cuando se utiliza Tracing JIT.
   La función se especifica usando una <span class="classname"><a href="class.closure.php" class="classname">Closure</a></span>.
  </p>
  <div class="warning"><strong class="warning">Advertencia</strong>
   <p class="simpara">
    Las partes de la función que ya fueron compiladas por JIT no se ven afectadas
    y seguirán siendo compiladas por JIT.
   </p>
  </div>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.opcache-jit-blacklist-parameters">
  <h3 class="title">Parámetros</h3>
  <dl>
   
    <dt>
     <code class="parameter">closure</code>
    </dt>
    <dd>
     <span class="simpara">
      La función a excluir, representada como un callable de primera clase.
      También es posible pasar una función anónima,
      en cuyo caso la propia función anónima será excluida.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.opcache-jit-blacklist-returnvalues">
  <h3 class="title">Valores devueltos</h3>
  <p class="simpara">
   No se retorna ningún valor.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.opcache-jit-blacklist-examples">
  <h3 class="title">Ejemplos</h3>
  <div class="example" id="example-1">
   <p><strong>Ejemplo #1 
    Ejemplo básico de <span class="function"><strong>opcache_jit_blacklist()</strong></span>
   </strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">() {<br />    </span><span style="color: #0000BB">$x </span><span style="color: #007700">= </span><span style="color: #0000BB">1</span><span style="color: #007700">;<br />    </span><span style="color: #0000BB">$x </span><span style="color: #007700">+= </span><span style="color: #0000BB">0</span><span style="color: #007700">;<br />    ++</span><span style="color: #0000BB">$x</span><span style="color: #007700">;<br />    </span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$x</span><span style="color: #007700">);<br />}<br /></span><span style="color: #0000BB">opcache_jit_blacklist</span><span style="color: #007700">(</span><span style="color: #0000BB">foo</span><span style="color: #007700">(...));<br /></span><span style="color: #0000BB">foo</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
   </div>

  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.opcache-jit-blacklist-seealso">
  <h3 class="title">Ver también</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.opcache-invalidate.php" class="function" rel="rdfs-seeAlso">opcache_invalidate()</a> - Invalida un script almacenado en cach&eacute;</span></li>
   <li><span class="function"><a href="function.opcache-reset.php" class="function" rel="rdfs-seeAlso">opcache_reset()</a> - Reinicia el contenido del cache opcode</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>