apd_set_session_trace

(PECL apd 0.2-0.4)

apd_set_session_traceStarts the session debugging

说锟斤拷

apd_set_session_trace ( int $debug_level [, string $dump_directory = ini_get("apd.dumpdir") ] ) : void

Starts debugging to apd_dump_{process_id} in the dump directory.

锟斤拷锟斤拷

debug_level

锟缴硷拷锟斤拷 XXX_TRACE 锟斤拷锟斤拷锟斤拷锟轿成碉拷锟斤拷锟斤拷锟斤拷

锟斤拷锟斤拷锟斤拷使锟斤拷 MEMORY_TRACE锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟狡猴拷锟斤拷锟斤拷确锟斤拷 ASSIGNMENT_TRACE 锟斤拷未锟斤拷实锟街★拷

要锟斤拷锟斤拷锟叫革拷锟劫癸拷锟斤拷(TIMING, FUNCTIONS, ARGS SUMMARY (锟斤拷锟斤拷 strace -c)) 锟斤拷使锟斤拷 99 锟斤拷为值锟斤拷

dump_directory

The directory in which the profile dump file is written. If not set, the apd.dumpdir setting from the php.ini file is used.

锟斤拷锟斤拷值

没锟叫凤拷锟斤拷值锟斤拷

锟斤拷锟斤拷

Example #1 apd_set_session_trace() example

<?php
apd_set_session_trace
(99);
?>