From 06388f5181b6b5389a1aaab1fedb90b0b267e064 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 2 Jun 2000 12:35:53 +0000 Subject: 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) --- main/php.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index 2a3ba78544..20d0f1cbde 100644 --- a/main/php.h +++ b/main/php.h @@ -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 -- cgit v1.2.1