summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-08-08 13:21:52 +0000
committerMarcus Boerger <helly@php.net>2008-08-08 13:21:52 +0000
commit5a59d41305d5ed52f1fc69765b77b477c88ed7ea (patch)
tree96115e0636f1ea9b4066be6576f4dea39b2542ba /main/php.h
parent3b2da467e75bc7a26db4a138139c071580f79b91 (diff)
downloadphp-git-5a59d41305d5ed52f1fc69765b77b477c88ed7ea.tar.gz
- MFH store error handling mode on stack when executing internal
or overloaded functions and methods. [...]
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php.h b/main/php.h
index 421af2214c..611f2e6dc1 100644
--- a/main/php.h
+++ b/main/php.h
@@ -288,7 +288,7 @@ END_EXTERN_C()
BEGIN_EXTERN_C()
PHPAPI void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class TSRMLS_DC);
-#define php_std_error_handling() php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC)
+static ZEND_ATTRIBUTE_DEPRECATED void php_std_error_handling() {}
PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format, va_list args TSRMLS_DC) PHP_ATTRIBUTE_FORMAT(printf, 4, 0);