|
Last change
on this file since 1196 was
1196,
checked in by moo, 5 months ago
|
|
fixes #295: crash using traits with PHP 5.4.8+
|
-
Property svn:eol-style set to
native
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | #include "util/xc_stack.h" |
|---|
| 2 | |
|---|
| 3 | ZEND_BEGIN_MODULE_GLOBALS(xcache) |
|---|
| 4 | zend_bool initial_compile_file_called; /* true if origin_compile_file is called */ |
|---|
| 5 | zend_bool cacher; /* true if enabled */ |
|---|
| 6 | zend_bool stat; |
|---|
| 7 | zend_bool experimental; |
|---|
| 8 | #ifdef HAVE_XCACHE_OPTIMIZER |
|---|
| 9 | zend_bool optimizer; /* true if enabled */ |
|---|
| 10 | #endif |
|---|
| 11 | #ifdef HAVE_XCACHE_COVERAGER |
|---|
| 12 | zend_bool coverager; |
|---|
| 13 | zend_bool coverager_autostart; |
|---|
| 14 | zend_bool coverager_started; |
|---|
| 15 | HashTable *coverages; /* coverages[file][line] = times */ |
|---|
| 16 | #endif |
|---|
| 17 | xc_stack_t *php_holds; |
|---|
| 18 | zend_uint php_holds_size; |
|---|
| 19 | xc_stack_t *var_holds; |
|---|
| 20 | zend_uint var_holds_size; |
|---|
| 21 | time_t request_time; |
|---|
| 22 | long var_ttl; |
|---|
| 23 | #ifdef IS_UNCODE |
|---|
| 24 | zval uvar_namespace_hard; |
|---|
| 25 | zval uvar_namespace_soft; |
|---|
| 26 | #endif |
|---|
| 27 | zval var_namespace_hard; |
|---|
| 28 | zval var_namespace_soft; |
|---|
| 29 | |
|---|
| 30 | zend_llist gc_op_arrays; |
|---|
| 31 | #ifdef ZEND_ACC_ALIAS |
|---|
| 32 | zend_llist gc_class_entries; |
|---|
| 33 | #endif |
|---|
| 34 | |
|---|
| 35 | #ifdef HAVE_XCACHE_CONSTANT |
|---|
| 36 | HashTable internal_constant_table; |
|---|
| 37 | #endif |
|---|
| 38 | HashTable internal_function_table; |
|---|
| 39 | HashTable internal_class_table; |
|---|
| 40 | zend_bool internal_table_copied; |
|---|
| 41 | |
|---|
| 42 | void *sandbox; |
|---|
| 43 | ZEND_END_MODULE_GLOBALS(xcache) |
|---|
| 44 | |
|---|
| 45 | ZEND_EXTERN_MODULE_GLOBALS(xcache) |
|---|
| 46 | |
|---|
| 47 | #ifdef ZTS |
|---|
| 48 | # define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v) |
|---|
| 49 | #else |
|---|
| 50 | # define XG(v) (xcache_globals.v) |
|---|
| 51 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.