PHP Velho Oeste 2024

apd_set_session

(PECL apd 0.2-0.4)

apd_set_sessionChanges or sets the current debugging level

Descrição

apd_set_session ( int $debug_level ) : void

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

Parâmetros

debug_level

Um interiro que é formado pela adição em conjunto das constantes XXX_TRACE.

Não é recomendado usar MEMORY_TRACE. è muito lenta e não parece ser exata. ASSIGNMENT_TRACE ainda não esta implementada.

Para ativar todos os traços de funções (TIMING, FUNCTIONS, ARGS SUMMARY (como strace -c)) use o valor 99

Valor Retornado

Não há valor retornado.

Exemplos

Exemplo #1 apd_set_session() example

<?php
apd_set_session
(9);
?>

add a note add a note

User Contributed Notes

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