mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
a51d3058f7
- Documented some functions - Added user-level warning messages - Added user_error()
41 lines
1.8 KiB
C
41 lines
1.8 KiB
C
/*
|
|
+----------------------------------------------------------------------+
|
|
| Zend Engine |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) 1998-2000 Zend Technologies Ltd. (http://www.zend.com) |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 0.92 of the Zend license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available at through the world-wide-web at |
|
|
| http://www.zend.com/license/0_92.txt. |
|
|
| If you did not receive a copy of the Zend license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@zend.com so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
| Authors: Andi Gutmans <andi@zend.com> |
|
|
| Zeev Suraski <zeev@zend.com> |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
|
|
|
|
#ifndef _ZEND_ERRORS_H
|
|
#define _ZEND_ERRORS_H
|
|
|
|
#define E_ERROR (1<<0L)
|
|
#define E_WARNING (1<<1L)
|
|
#define E_PARSE (1<<2L)
|
|
#define E_NOTICE (1<<3L)
|
|
#define E_CORE_ERROR (1<<4L)
|
|
#define E_CORE_WARNING (1<<5L)
|
|
#define E_COMPILE_ERROR (1<<6L)
|
|
#define E_COMPILE_WARNING (1<<7L)
|
|
#define E_USER_ERROR (1<<8L)
|
|
#define E_USER_WARNING (1<<9L)
|
|
#define E_USER_NOTICE (1<<10L)
|
|
|
|
#define E_ALL (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)
|
|
#define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
|
|
|
|
#endif /* _ZEND_ERRORS_H */
|
|
|