0

i'm trying to studying XCache but is very difficult to get complete documentation (or also lazy documentation like apc docs).

For example i'd like to know difference beetwen

xcache_list(0, 0);

and

xcache_list(1, 0);

Someone can helps me?

alesdario
  • 1,873
  • 6
  • 25
  • 38

1 Answers1

1

Simple, one fetches stored variables, the other fetches stored PHP pages (OPCODE cached pages):

The better use would be to use the constants:

xcache_list(XC_TYPE_VAR, 0)

and

xcache_list(XC_TYPE_PHP, 0)

As far as the docs, I haven't found anything on that function...

ircmaxell
  • 163,128
  • 34
  • 264
  • 314