Use the new error code

@- Added set_error_handler() to allow custom error handling functions,
@  instead of the built-in error handling code (Zeev, Zend Engine)
@- Renamed user_error() to trigger_error();  user_error() remains
@  defined for compatibility (Zeev, Zend Engine)
This commit is contained in:
Zeev Suraski 2000-06-02 12:35:53 +00:00
parent ab36e22aeb
commit 06388f5181
2 changed files with 0 additions and 58 deletions

View file

@ -248,12 +248,7 @@ extern void php_log_err(char *log_message);
extern int Debug(char *format, ...);
extern int cfgparse(void);
#if ZEND_NEW_ERROR_HANDLING
#define php_error zend_error
#else
extern PHPAPI void php_error_cb(int type, const char *format, ...);
#define php_error php_error_cb
#endif
#define zenderror phperror