XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
702 B

ZEND_BEGIN_MODULE_GLOBALS(xcache)
zend_bool cacher; /* true if enabled */
zend_bool stat;
zend_bool experimental;
#ifdef HAVE_XCACHE_OPTIMIZER
zend_bool optimizer; /* true if enabled */
#endif
#ifdef HAVE_XCACHE_COVERAGER
zend_bool coverager;
zend_bool coverage_enabled;
HashTable *coverages; /* coverages[file][line] = times */
#endif
xc_stack_t *php_holds;
xc_stack_t *var_holds;
time_t request_time;
long var_ttl;
HashTable internal_function_table;
HashTable internal_class_table;
ZEND_END_MODULE_GLOBALS(xcache)
ZEND_EXTERN_MODULE_GLOBALS(xcache)
#ifdef ZTS
# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
#else
# define XG(v) (xcache_globals.v)
#endif