downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Memcached> <Funciones de Memcache
[edit] Last updated: Fri, 24 May 2013

view this page in

memcache_debug

(PECL memcache >= 0.2.0)

memcache_debugActiva/desactiva debug output

Descripción

bool memcache_debug ( bool $on_off )

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 devuelve FALSE.

Parámetros

on_off

Activa debug output si es igual a TRUE. Desactiva debug output si es igual a FALSE.

Valores devueltos

Devuelve TRUE si PHP fue compilado con la opción --enable-debug, de lo contrario devuelve FALSE.



add a note add a note User Contributed Notes memcache_debug - [1 notes]
up
0
markus at buyways dot nl
3 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)

 
show source | credits | stats | sitemap | contact | advertising | mirror sites