zend_error

zend_error -- Génère un message d'erreur et lance le gestionnaire d'erreur

Description

#include <zend.h>

#include <zend_errors.h>

void zend_error ( int type, const char* format, ... )

...

Liste de paramètres

type

Un parmi E_ERROR, E_WARNING, E_PARSE, E_NOTICE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE, E_STRICT, ou E_RECOVERABLE_ERROR.

format

Une chaîne au format printf().

...

Affiche les paramètres pour la chaîne format.