Installation
<<<
Configuration à l'exécution Constantes pré-définies
>>>

8.30 Gestion des erreurs
8 Référence des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
->Configuration à l'exécution
Constantes pré-définies
Exemples
Voir aussi
debug_backtrace
debug_print_backtrace
error_log
error_reporting
restore_error_handler
restore_exception_handler
set_error_handler
set_exception_handler
trigger_error
user_error

8.30.4 Configuration à l'exécution

Le comportement de ces fonctions est affecté par la configuration dans le fichier php.ini .

Nom Par défaut Modifiable
error_reporting E_ALL & ~E_NOTICE PHP_INI_ALL
display_errors "1" PHP_INI_ALL
display_startup_errors "0" PHP_INI_ALL
log_errors "0" PHP_INI_ALL
log_errors_max_len "1024" PHP_INI_ALL
ignore_repeated_errors "0" PHP_INI_ALL
ignore_repeated_source "0" PHP_INI_ALL
report_memleaks "1" PHP_INI_ALL
track_errors "0" PHP_INI_ALL
html_errors "1" PHP_INI_ALL
docref_root "" PHP_INI_ALL
docref_ext "" PHP_INI_ALL
error_prepend_string NULL PHP_INI_ALL
error_append_string NULL PHP_INI_ALL
error_log NULL PHP_INI_ALL
warn_plus_overloading NULL PHP_INI??
Pour plus de détails sur les constantes PHP_INI_*, reportez-vous à ini_set .

Voici un éclaircissement sur l'utilisation des directives de configuration.

    << Configuration à l'exécution >>
    Installation Gestion des erreurs Constantes pré-définies