php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_accelerator_module.c File Reference
#include <time.h>
#include "php.h"
#include "ZendAccelerator.h"
#include "zend_API.h"
#include "zend_closures.h"
#include "zend_shared_alloc.h"
#include "zend_accelerator_blacklist.h"
#include "php_ini.h"
#include "SAPI.h"
#include "zend_virtual_cwd.h"
#include "ext/standard/info.h"
#include "ext/standard/php_filestat.h"
#include "ext/date/php_date.h"
#include "opcache_arginfo.h"

Go to the source code of this file.

Macros

#define STRING_NOT_NULL(s)
 
#define MIN_ACCEL_FILES   200
 
#define MAX_ACCEL_FILES   1000000
 
#define MAX_INTERNED_STRINGS_BUFFER_SIZE
 
#define TOKENTOSTR(X)
 

Functions

void zend_accel_override_file_functions (void)
 
void zend_accel_info (ZEND_MODULE_INFO_FUNC_ARGS)
 
int start_accel_module (void)
 
 ZEND_FUNCTION (opcache_get_status)
 
 ZEND_FUNCTION (opcache_get_configuration)
 
 ZEND_FUNCTION (opcache_reset)
 
 ZEND_FUNCTION (opcache_invalidate)
 
 ZEND_FUNCTION (opcache_jit_blacklist)
 
 ZEND_FUNCTION (opcache_compile_file)
 
 ZEND_FUNCTION (opcache_is_script_cached)
 

Macro Definition Documentation

◆ MAX_ACCEL_FILES

#define MAX_ACCEL_FILES   1000000

Definition at line 44 of file zend_accelerator_module.c.

◆ MAX_INTERNED_STRINGS_BUFFER_SIZE

#define MAX_INTERNED_STRINGS_BUFFER_SIZE
Value:
MIN( \
/* STRTAB_STR_TO_POS() must not overflow (zend_string_table_pos_t) */ \
/* nTableMask must not overflow (uint32_t) */ \
UINT32_MAX / (32 * 1024 * sizeof(zend_string_table_pos_t)) \
), \
/* SHM allocation must not overflow (size_t) */ \
(SIZE_MAX - sizeof(zend_accel_shared_globals)) / (1024 * 1024) \
))
#define ZEND_STRING_TABLE_POS_ALIGNMENT
uint32_t zend_string_table_pos_t
struct _zend_string_table zend_string_table
struct _zend_accel_shared_globals zend_accel_shared_globals
#define ZEND_STRING_TABLE_POS_MAX
#define SIZE_MAX
Definition funcs.c:51
#define UINT32_MAX
int32_t zend_long
Definition zend_long.h:42
#define MIN(a, b)

Definition at line 46 of file zend_accelerator_module.c.

◆ MIN_ACCEL_FILES

#define MIN_ACCEL_FILES   200

Definition at line 43 of file zend_accelerator_module.c.

◆ STRING_NOT_NULL

#define STRING_NOT_NULL ( s)
Value:
(NULL == (s)?"":s)
char s[4]
Definition cdf.c:77
#define NULL
Definition gdcache.h:45

Definition at line 42 of file zend_accelerator_module.c.

◆ TOKENTOSTR

#define TOKENTOSTR ( X)
Value:
#X

Definition at line 56 of file zend_accelerator_module.c.

Function Documentation

◆ start_accel_module()

int start_accel_module ( void )

Definition at line 584 of file zend_accelerator_module.c.

◆ zend_accel_info()

void zend_accel_info ( ZEND_MODULE_INFO_FUNC_ARGS )

Definition at line 460 of file zend_accelerator_module.c.

◆ zend_accel_override_file_functions()

void zend_accel_override_file_functions ( void )

Definition at line 427 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [1/7]

ZEND_FUNCTION ( opcache_compile_file )

Definition at line 945 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [2/7]

ZEND_FUNCTION ( opcache_get_configuration )

Definition at line 774 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [3/7]

ZEND_FUNCTION ( opcache_get_status )

Definition at line 641 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [4/7]

ZEND_FUNCTION ( opcache_invalidate )

Definition at line 908 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [5/7]

ZEND_FUNCTION ( opcache_is_script_cached )

Definition at line 995 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [6/7]

ZEND_FUNCTION ( opcache_jit_blacklist )

Definition at line 929 of file zend_accelerator_module.c.

◆ ZEND_FUNCTION() [7/7]

ZEND_FUNCTION ( opcache_reset )

Definition at line 882 of file zend_accelerator_module.c.