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_sessionChanges or sets the current debugging level

说明

void apd_set_session ( int $debug_level )

This can be used to increase or decrease debugging in a different area of your application.

参数

debug_level

由加上 XXX_TRACE 常量而形成的整数。

不建议使用 MEMORY_TRACE。这会很慢且似乎不精确。 ASSIGNMENT_TRACE 还未被实现。

要打开所有跟踪功能(TIMING, FUNCTIONS, ARGS SUMMARY (比如 strace -c)) 则使用 99 作为值。

返回值

没有返回值。

范例

Example #1 apd_set_session() example

<?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