2006-05-09 10:58:38 +00:00
|
|
|
|
|
|
|
ZEND_BEGIN_MODULE_GLOBALS(xcache)
|
2007-05-31 03:48:08 +00:00
|
|
|
zend_bool initial_compile_file_called; /* true is origin_compile_file is called */
|
2006-05-09 10:58:38 +00:00
|
|
|
zend_bool cacher; /* true if enabled */
|
2006-09-13 12:22:57 +00:00
|
|
|
zend_bool stat;
|
2007-05-27 14:04:56 +00:00
|
|
|
zend_bool experimental;
|
2006-05-09 10:58:38 +00:00
|
|
|
#ifdef HAVE_XCACHE_OPTIMIZER
|
|
|
|
zend_bool optimizer; /* true if enabled */
|
|
|
|
#endif
|
2006-05-26 02:31:00 +00:00
|
|
|
#ifdef HAVE_XCACHE_COVERAGER
|
2006-10-01 08:57:51 +00:00
|
|
|
zend_bool coverager;
|
|
|
|
zend_bool coverage_enabled;
|
2006-05-09 10:58:38 +00:00
|
|
|
HashTable *coverages; /* coverages[file][line] = times */
|
|
|
|
#endif
|
|
|
|
xc_stack_t *php_holds;
|
|
|
|
xc_stack_t *var_holds;
|
|
|
|
time_t request_time;
|
2006-08-30 12:27:53 +00:00
|
|
|
long var_ttl;
|
2007-02-04 06:22:14 +00:00
|
|
|
|
2008-01-05 09:17:02 +00:00
|
|
|
#ifdef ZEND_ENGINE_2
|
2008-01-04 14:05:12 +00:00
|
|
|
HashTable gc_op_arrays;
|
2008-01-05 09:17:02 +00:00
|
|
|
#endif
|
2008-01-04 14:05:12 +00:00
|
|
|
|
2007-02-04 06:22:14 +00:00
|
|
|
HashTable internal_function_table;
|
|
|
|
HashTable internal_class_table;
|
2007-06-30 05:17:52 +00:00
|
|
|
zend_bool internal_table_copied;
|
2008-01-04 11:38:57 +00:00
|
|
|
|
|
|
|
void *sandbox;
|
2006-05-09 10:58:38 +00:00
|
|
|
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
|