apd_set_pprof_trace

(PECL apd >= 0.2)

apd_set_pprof_traceStarts the session debugging

說明

string apd_set_pprof_trace ([ string $dump_directory = ini_get("apd.dumpdir") [, string $fragment = "pprof" ]] )

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

參數

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.

fragment

回傳值

Returns path of the destination file.

範例

Example #1 apd_set_pprof_trace() example

<?php
apd_set_pprof_trace
();
?>

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top