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

search for in the

override_function> <apd_set_session_trace
[edit] Last updated: Fri, 25 May 2012

view this page in

apd_set_session

(PECL apd 0.2-0.4)

apd_set_session現在のデバッグレベルを変更あるいは設定する

説明

void apd_set_session ( int $debug_level )

アプリケーション内で、場所によってデバッグのレベルを増減する際に使用可能です。

パラメータ

debug_level

XXX_TRACE 定数の組み合わせによる整数値。

MEMORY_TRACE を用いることは推奨しません。 これは非常に低速で、またあまり正確ではないようだからです。 ASSIGNMENT_TRACE は、まだ実装されていません。

すべての機能 (TIMING, FUNCTIONS, ARGS SUMMARY (strace -c のようなもの)) のトレースを有効にするには、値 99 を指定します。

返り値

値を返しません。

例1 apd_set_session() の例

<?php
apd_set_session
(9);
?>



add a note add a note User Contributed Notes apd_set_session
There are no user contributed notes for this page.

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