APD 函数
在线手册:中文 英文
PHP手册

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


APD 函数
在线手册:中文 英文
PHP手册