Use php_memc_debug instead of printf.