Forum und email

apd_set_session

(PECL apd:0.2-0.4)

apd_set_session — Changes or sets the current debugging level

Descrizione

void apd_set_session ( int $debug_level )

This can be used to increase or decrease debugging in a different area of your application.

Elenco dei parametri

debug_level

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

Valori restituiti

Nessun valore viene restituito.

Esempi

Example#1 apd_set_session() example

<?php
apd_set_session
(9);
?>