• PHP Video Tutorials

PHP - Memcache_Debug() Function



Memcache_Debug() function can turn debug output on/off.

Syntax

bool memcache_debug( bool $on_off )

Memcache_Debug() function can turn on debug output if a parameter on_off is equal to true and turn off if it is false.

Note: Memcache_Debug() function is accessible only if PHP was built with --enable-debug option and always return true in this case. Otherwise, this function cannot affect and always return false.

Memcache_Debug() function can return true if PHP was built with --enable-debug option, or otherwise return false.

Advertisements