略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: memcache_debug

2024-04-16

memcache_debug

(PECL memcache >= 0.2.0)

memcache_debug转换调试输出的开/关

说明

memcache_debug(bool $on_off): bool

memcache_debug()在参数 on_off设置为true时打开调试输出,在值为 false时关闭调试输出。

注意:

memcache_debug()仅仅在PHP以--enable-debug方式编译时可以访问,并且 总是返回true,其他情况下此函数不会产生任何影响并总是返回false

参数

on_off

true表明打开调试输出。 false表明关闭调试输出。

返回值

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

add a noteadd a note

User Contributed Notes 2 notes

up
0
csongor at halmai dot hu
7 years ago
In PHP 5.5.14 this function returns NULL (not TRUE or FALSE). I have no information about other PHP releases.
up
0
markus at buyways dot nl
12 years ago
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

冷却塔厂家 广告
-- 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3