summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-02 12:35:53 +0000
committerZeev Suraski <zeev@php.net>2000-06-02 12:35:53 +0000
commit06388f5181b6b5389a1aaab1fedb90b0b267e064 (patch)
tree521c33d2e7917aeaf069dd70152451b6d73120a4 /main/php.h
parentab36e22aebb8c87cf38d4f1dd78ea7d0682284a1 (diff)
downloadphp-git-06388f5181b6b5389a1aaab1fedb90b0b267e064.tar.gz
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)
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h5
1 files changed, 0 insertions, 5 deletions
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