In PHP 5.5.14 this function returns NULL (not TRUE or FALSE). I have no information about other PHP releases.
PHP - Manual: memcache_debug
2025-02-27
(PECL memcache >= 0.2.0)
memcache_debug — 打开/关闭调试输出
In PHP 5.5.14 this function returns NULL (not TRUE or FALSE). I have no information about other PHP releases.
This method is deprecated in at least PHP 5.2.6
memcache_debug() [<a href='function.memcache-debug'>function.memcache-debug</a>]: memcache_debug() is deprecated, please use a debugger (like Eclipse + CDT)
官方地址:https://www.php.net/manual/en/function.memcache-debug.php