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.

22 lines
549 B

  1. ZEND_BEGIN_MODULE_GLOBALS(xcache)
  2. zend_bool cacher; /* true if enabled */
  3. #ifdef HAVE_XCACHE_OPTIMIZER
  4. zend_bool optimizer; /* true if enabled */
  5. #endif
  6. #ifdef HAVE_XCACHE_COVERAGER
  7. zend_bool coveragedumper;
  8. HashTable *coverages; /* coverages[file][line] = times */
  9. #endif
  10. xc_stack_t *php_holds;
  11. xc_stack_t *var_holds;
  12. time_t request_time;
  13. ZEND_END_MODULE_GLOBALS(xcache)
  14. ZEND_EXTERN_MODULE_GLOBALS(xcache)
  15. #ifdef ZTS
  16. # define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
  17. #else
  18. # define XG(v) (xcache_globals.v)
  19. #endif