memcache_debug

(PECL memcache >= 0.2.0)

memcache_debug打开/关闭调试输出

说明

memcache_debug(bool $on_off): bool

如果参数 on_offtruememcache_debug() 打开调试输出,如果为 false,则关闭调试输出。

注意:

memcache_debug() 仅在 PHP 以 --enable-debug 选项编译时可以访问,并且在这种情况下始终返回 true,其他情况下此函数无效并始终返回 false

参数

on_off

如果为 true,则打开调试输出。如果为 false 则关闭调试输出。

返回值

当 PHP 以 --enalbe-debug 选项编译时返回 true 其他情况下返回 false

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top