Manual do PHP
Anterior |  | Próxima

# memcache_debug

(PECL)

memcache_debug -- Turn debug output on/off

## Descrição

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`.

> Nota: 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`.

## Parâmetros

`on_off`

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

## Valores de retornado

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

Anterior | Principal | Próxima
Memcache::connect | Acima | Memcache::decrement