Property | Type | Description | |
---|---|---|---|
$adapter |
Method | Description | |
---|---|---|
getFunctions ( ) | ||
opcache_compile_file ( string $file ) : boolean | Compiles and caches a PHP script without executing it | |
opcache_get_configuration ( ) : array | Get configuration information about the cache | |
opcache_get_status ( boolean $get_scripts = true ) : array | Get status information about the cache | |
opcache_invalidate ( string $script, boolean $force = false ) : boolean | Get status information about the cache | |
opcache_reset ( ) : boolean | Resets the contents of the opcode cache | |
opcache_version ( ) : string | ||
setAdapter ( |
public opcache_compile_file ( string $file ) : boolean | ||
$file | string | The path to the PHP script to be compiled. |
return | boolean | Returns TRUE if file was compiled successfully or FALSE on failure. |
public opcache_get_configuration ( ) : array | ||
return | array | Returns an array of information, including ini, blacklist and version |
public opcache_get_status ( boolean $get_scripts = true ) : array | ||
$get_scripts | boolean | Include script specific state information |
return | array | Returns an array of information, optionally containing script specific state information |
public opcache_invalidate ( string $script, boolean $force = false ) : boolean | ||
$script | string | The path to the script being invalidated. |
$force | boolean | If set to TRUE, the script will be invalidated regardless of whether invalidation is necessary. |
return | boolean | Returns TRUE if the opcode cache for script was invalidated or if there was nothing to invalidate, or FALSE if the opcode cache is disabled. |
public opcache_reset ( ) : boolean | ||
return | boolean | Returns TRUE if the opcode cache was reset, or FALSE if the opcode cache is disabled. |
public setAdapter ( |
||
$adapter |