In PHP 5.5.14 this function returns NULL (not TRUE or FALSE). I have no information about other PHP releases.
(PECL memcache >= 0.2.0)
memcache_debug — Activa/desactiva debug output
$on_off
) : bool
memcache_debug() activa el debug output si el parámetro
on_off es igual a TRUE y lo desactiva si es igual a
FALSE.
Nota:
Solamente se puede acceder a memcache_debug() si PHP fue compilado con la opción --enable-debug y en este caso siempre retorna
TRUE. De lo contrario, esta función no tiene ningún efecto y siempre devuelveFALSE.
on_off
Activa debug output si es igual a TRUE.
Desactiva debug output si es igual a FALSE.
Devuelve TRUE si PHP fue compilado con la opción --enable-debug, de lo contrario
devuelve FALSE.
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)