Version 4 (modified by moo, 14 years ago) (diff)


Feature of XCache

  • Optimized opcode cacher. apc, eaccelerator is also good opcode cacher.
  • Using C code generator, reduce human mistake.
  • Running on PHP_4_3/PHP_4_4 stablly
  • Support and tested on all lastest php cvs branches, such as PHP_4_3 PHP_4_4 PHP_5_1 PHP_5_2 HEAD
  • Alpha supported for in-alpha-php6, with unicode enabled.
  • Readonly Cacher Protection that prevent the cache from corrupted by php-core/extension code other than XCache itself.
  • Atomic get/set/inc/dec api operation on var cache for php programmers.
  • A XCache Uptime statistics collector (enable by server admin), show you how stable each XCache version is on each php version. [TODO]
  • Self sane test at build time, discover c struct changes within php script engine. catch up with new php version easier. see a real life example (notice the message 18, 19)
  • Auto disable itself if the cache is corrupted [TODO]
  • Optimizer [TODO]
  • Encoder/Decoder?(Loader) [TODO]
  • Disassembler. to see how your php script is compiled into opcode. (not with enterprise encoder)
  • Decompiler. decompile opcode into php code. (only half working, and not for enterprise encoder)
  • Coverager, real life testcase framework, this include: [TOSHARE]
    • real life testcase framework, a control script with real browser. you have to write the test cases.
    • builtin Coverager (in repo) + its visualizer from web, to see how much script you have tested.
  • the testcase+Coverager just help you make sure all real life php web applications is running correctly when
    • after enabling XCache
    • after upgrading php4 to php5
    • after upgrading php4/5 to php6
  • Administrator Script [TOSHARE]


  • [TODO]: It's in my TODO list
  • [TOSHARE]: It's already done, but it takes sometime for me to put it into XCache Source Repo.