(PECL apd:0.2-0.4)
apd_set_session — Changes or sets the current debugging level
This can be used to increase or decrease debugging in a different area of your application.
Un integer formato sommando le costanti XXX_TRACE.
Non è raccomandato usare MEMORY_TRACE. È molto lento e non è accurato. ASSIGNMENT_TRACE non è ancora implementata.
Per accendere tutte le tracce funzionali (TIMING, FUNCTIONS, ARGS SUMMARY (come strace -c)) utilizzare il valore 99
Nessun valore viene restituito.
Example#1 apd_set_session() example
<?php
apd_set_session(9);
?>