apd_set_session()
(PECL apd 0.2-0.4)
Changes or sets the current debugging level
说明
apd_set_session(int $debug_level): void
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); ?>