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

search for in the

Memcached> <Memcache 関数
[edit] Last updated: Fri, 25 May 2012

view this page in

memcache_debug

(PECL memcache >= 0.2.0)

memcache_debugデバッグ出力のオン/オフを切り替える

説明

bool memcache_debug ( bool $on_off )

memcache_debug() は、パラメータ on_offTRUE の場合にデバッグ出力を有効にし、 FALSE の場合には無効にします。

注意:

memcache_debug() は、PHP が --enable-debug オプションをつけてビルドされている場合にのみ使用可能で、 この場合は常に TRUE を返します。そうでない場合は、この関数は 何も行わずに常に FALSE を返します。

パラメータ

on_off

TRUE にすると、デバッグ出力をオンにします。 FALSE にすると、デバッグ出力をオフにします。

返り値

PHP が --enable-debug オプションをつけてビルドされている場合に TRUE、それ以外の場合に FALSE を返します。



add a note add a note User Contributed Notes memcache_debug
markus at buyways dot nl 22-Oct-2009 02:39
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