PHP Manual
Prev |  | Next

# zend_error

zend_error -- Generate error message and trigger error handling

## Description

#include <zend.h>

#include <zend_errors.h>

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

...

## Parameters

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.

Prev | Home | Next
zend_do_inheritance | Up | zend_eval_string_ex