summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-08 19:12:27 +0000
committerMarcus Boerger <helly@php.net>2002-08-08 19:12:27 +0000
commit88c385e8176c50d0cfe1d5203cd0ce40859a1b68 (patch)
tree28ba0000c986ec0f86b0415d756ac98ddfac25b3 /main/php.h
parent9abdbd9c299ac3b530becc38177b708f6f287415 (diff)
downloadphp-git-88c385e8176c50d0cfe1d5203cd0ce40859a1b68.tar.gz
rename php_error_func<n> to php_error_docref and support Wez idea
that solves ToDo requirement to point to PHP Manual in error messages.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/php.h b/main/php.h
index dbf0fdd68a..e4c6d86d42 100644
--- a/main/php.h
+++ b/main/php.h
@@ -256,9 +256,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, ...);
+PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...);
+PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...);
+PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...);
+
+#define php_error_docref php_error_docref0
#define zenderror phperror
#define zendlex phplex