This is not clearing the opcode cache at all. It is clearing the variable cache. Constant should be XC_TYPE_PHP ?