Annotation of embedaddon/php/Zend/zend_errors.h, revision 1.1.1.1
1.1 misho 1: /*
2: +----------------------------------------------------------------------+
3: | Zend Engine |
4: +----------------------------------------------------------------------+
5: | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |
6: +----------------------------------------------------------------------+
7: | This source file is subject to version 2.00 of the Zend license, |
8: | that is bundled with this package in the file LICENSE, and is |
9: | available through the world-wide-web at the following url: |
10: | http://www.zend.com/license/2_00.txt. |
11: | If you did not receive a copy of the Zend license and are unable to |
12: | obtain it through the world-wide-web, please send a note to |
13: | license@zend.com so we can mail you a copy immediately. |
14: +----------------------------------------------------------------------+
15: | Authors: Andi Gutmans <andi@zend.com> |
16: | Zeev Suraski <zeev@zend.com> |
17: +----------------------------------------------------------------------+
18: */
19:
20: /* $Id: zend_errors.h 321634 2012-01-01 13:15:04Z felipe $ */
21:
22: #ifndef ZEND_ERRORS_H
23: #define ZEND_ERRORS_H
24:
25: #define E_ERROR (1<<0L)
26: #define E_WARNING (1<<1L)
27: #define E_PARSE (1<<2L)
28: #define E_NOTICE (1<<3L)
29: #define E_CORE_ERROR (1<<4L)
30: #define E_CORE_WARNING (1<<5L)
31: #define E_COMPILE_ERROR (1<<6L)
32: #define E_COMPILE_WARNING (1<<7L)
33: #define E_USER_ERROR (1<<8L)
34: #define E_USER_WARNING (1<<9L)
35: #define E_USER_NOTICE (1<<10L)
36: #define E_STRICT (1<<11L)
37: #define E_RECOVERABLE_ERROR (1<<12L)
38: #define E_DEPRECATED (1<<13L)
39: #define E_USER_DEPRECATED (1<<14L)
40:
41: #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 | E_RECOVERABLE_ERROR | E_DEPRECATED | E_USER_DEPRECATED)
42: #define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
43:
44: #if SUHOSIN_PATCH
45: #define S_MEMORY (1<<0L)
46: #define S_MISC (1<<1L)
47: #define S_VARS (1<<2L)
48: #define S_FILES (1<<3L)
49: #define S_INCLUDE (1<<4L)
50: #define S_SQL (1<<5L)
51: #define S_EXECUTOR (1<<6L)
52: #define S_MAIL (1<<7L)
53: #define S_SESSION (1<<8L)
54: #define S_INTERNAL (1<<29L)
55: #define S_ALL (S_MEMORY | S_VARS | S_INCLUDE | S_FILES | S_MAIL | S_SESSION | S_MISC | S_SQL | S_EXECUTOR)
56: #endif
57:
58: #endif /* ZEND_ERRORS_H */
59:
60: /*
61: * Local variables:
62: * tab-width: 4
63: * c-basic-offset: 4
64: * indent-tabs-mode: t
65: * End:
66: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>