summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-07 18:29:36 +0000
committerMarcus Boerger <helly@php.net>2002-08-07 18:29:36 +0000
commite50228ab5ba229a68031e8b90935e678f86bab0f (patch)
treea0b202c4681127b7af47776754eaa0d2f28ebce2 /main/php.h
parente84bddf76aba5c5f27c5eb488794904ca45cd11c (diff)
downloadphp-git-e50228ab5ba229a68031e8b90935e678f86bab0f.tar.gz
-new functions php_error_func<0> to support unified error messages
#read followup
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 9fe824949e..dbf0fdd68a 100644
--- a/main/php.h
+++ b/main/php.h
@@ -255,6 +255,11 @@ int cfgparse(void);
#define php_error zend_error
+/* PHPAPI void php_error(int type, const char *format, ...); */
+PHPAPI void php_error_func0(int type TSRMLS_DC, const char *format, ...);
+PHPAPI void php_error_func1(int type, const char *param1 TSRMLS_DC, const char *format, ...);
+PHPAPI void php_error_func2(int type, const char *param1, const char *param2 TSRMLS_DC, const char *format, ...);
+
#define zenderror phperror
#define zendlex phplex