#include <zend.h>
#include <zend_errors.h>
void zend_error ( int type, const char* format, ... )...
type
One of 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, or E_RECOVERABLE_ERROR.
format
A printf() format string.
...
Output parameters for the format
string.