Question

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?

Was it helpful?

Solution

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...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top