PHP 8.4.6 Released!

memcache_debug

(PECL memcache >= 0.2.0)

memcache_debugLiga/desliga a saída de depuração

Descrição

memcache_debug(bool $on_off): bool

memcache_debug() ativa a saída de depuração se o parâmetro on_off for igual a true e desativa se for false.

Nota:

memcache_debug() é acessível somente se o PHP foi construído com a opção --enable-debug e sempre retorna true neste caso. Caso contrário, esta função não tem efeito e sempre retorna false.

Parâmetros

on_off

Liga a saída de depuração se for igual a true. Desliga a saída de depuração se for igual a false.

Valor Retornado

Retorna true se o PHP foi construído com a opção --enable-debug, caso contrário retorna false.

adicione uma nota

Notas Enviadas por Usuários (em inglês) 2 notes

up
0
csongor at halmai dot hu
10 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
15 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)
To Top