(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.
Liczba, która powstaje poprzez dodanie do siebie stałych XXX_TRACE.
Użycie MEMORY_TRACE nie jest zalecane. Jest bardzo powolne i nie wydaje się zbyt dokładne. Stała ASSIGNMENT_TRACE nie jest jeszcze zaimplementowana.
Aby włączyć wszystkie funkcjonalne śledzenia (TIMING, FUNCTIONS, ARGS SUMMARY (takie jak strace -c)) użyj wartości 99
nie jest zwracana żadna wartość.
Przykład #1 apd_set_session() example
<?php
apd_set_session(9);
?>