mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make error codes PHP 3.0 compatible
This commit is contained in:
parent
a064237fc0
commit
353a2d38d8
1 changed files with 9 additions and 9 deletions
|
@ -21,17 +21,17 @@
|
|||
#ifndef _ZEND_ERRORS_H
|
||||
#define _ZEND_ERRORS_H
|
||||
|
||||
#define E_CORE_ERROR (1<<0L)
|
||||
#define E_CORE_WARNING (1<<1L)
|
||||
#define E_COMPILE_ERROR (1<<2L)
|
||||
#define E_COMPILE_WARNING (1<<3L)
|
||||
#define E_PARSE (1<<4L)
|
||||
#define E_ERROR (1<<5L)
|
||||
#define E_WARNING (1<<6L)
|
||||
#define E_NOTICE (1<<7L)
|
||||
#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_ALL (E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING)
|
||||
#define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
|
||||
|
||||
|
||||
#endif /* _ZEND_ERRORS_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue