← All docs

opcache_jit_blacklist()

Excludes a function from JIT compilation.

opcache_jit_blacklist()

function opcache_jit_blacklist(mixed $closure): void

Excludes a function from JIT compilation.

Parameters:

  • $closure (mixed)

Returns: void

Availability

  • Compiled (AOT): supported through an injected elephc-PHP prelude.
  • eval() (magician interpreter): supported through native OPcache prelude declarations or dedicated interpreter handlers; see OPcache.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how opcache_jit_blacklist is implemented in the compiler, see the internals page.