8.31 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.31.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 |
Historique |
| error_reporting |
NULL |
PHP_INI_ALL |
|
| display_errors |
"1" |
PHP_INI_ALL |
|
| display_startup_errors |
"0" |
PHP_INI_ALL |
Disponible depuis PHP 4.0.3. |
| log_errors |
"0" |
PHP_INI_ALL |
|
| log_errors_max_len |
"1024" |
PHP_INI_ALL |
Disponible depuis PHP 4.3.0. |
| ignore_repeated_errors |
"0" |
PHP_INI_ALL |
Disponible depuis PHP 4.3.0. |
| ignore_repeated_source |
"0" |
PHP_INI_ALL |
Disponible depuis PHP 4.3.0. |
| report_memleaks |
"1" |
PHP_INI_ALL |
Disponible depuis PHP 4.3.0. |
| track_errors |
"0" |
PHP_INI_ALL |
|
| html_errors |
"1" |
PHP_INI_ALL |
PHP_INI_SYSTEM en PHP <=4.2.3. Disponible depuis PHP 4.0.2. |
| docref_root |
"" |
PHP_INI_ALL |
Disponible depuis PHP 4.3.0. |
| docref_ext |
"" |
PHP_INI_ALL |
Disponible depuis PHP 4.3.2. |
| 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 à Directives du php.ini .
Voici un éclaircissement sur
l'utilisation des directives de configuration.
|