memcache_debug

(PECL memcache:0.2-2.1.2)

memcache_debug — Turn debug output on/off

Описание

bool memcache_debug ( bool $on_off )

memcache_debug() turns on debug output if parameter on_off is equal to TRUE and turns off if it's FALSE.

Замечание: memcache_debug() is accessible only if PHP was built with --enable-debug option and always returns TRUE in this case. Otherwise, this function has no effect and always returns FALSE.

Список параметров

on_off

Turns debug output on if equals to TRUE. Turns debug output off if equals to FALSE.

Возвращаемые значения

Returns TRUE if PHP was built with --enable-debug option, otherwise returns FALSE.

Коментарии

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)
2009-10-22 05:39:06
http://php5.kiev.ua/manual/ru/function.memcache-debug.html
In PHP 5.5.14 this function returns NULL (not TRUE or FALSE). I have no information about other PHP releases.
2014-07-15 03:43:19
http://php5.kiev.ua/manual/ru/function.memcache-debug.html

    Поддержать сайт на родительском проекте КГБ