summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-12-18 17:31:00 +0100
committerNikita Popov <nikic@php.net>2017-01-01 21:28:20 +0100
commitc7742e280a4edcc8b216d7b798c805c9a439d663 (patch)
tree50cf8b5c8ca25827faaad56a0b5bc10d5afddfac /Zend/zend_exceptions.h
parent38f72cea1bcfecc2a04c055418e4518bfd05c04a (diff)
downloadphp-git-c7742e280a4edcc8b216d7b798c805c9a439d663.tar.gz
Export zend_s(tr)pprintf
It's annoying that in Zend you have to use zend_strpprintf instead of strpprintf, while in PHP you have to use strpprintf instead of zend_strpprintf. Make zend_s(tr)pprintf always available and keep s(tr)pprintf as macro aliases.
Diffstat (limited to 'Zend/zend_exceptions.h')
-rw-r--r--Zend/zend_exceptions.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h
index e88b5e1db7..61f9500506 100644
--- a/Zend/zend_exceptions.h
+++ b/Zend/zend_exceptions.h
@@ -68,10 +68,6 @@ extern ZEND_API void (*zend_throw_exception_hook)(zval *ex);
/* show an exception using zend_error(severity,...), severity should be E_ERROR */
ZEND_API ZEND_COLD void zend_exception_error(zend_object *exception, int severity);
-/* do not export, in php it's available thru spprintf directly */
-size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
-zend_string *zend_strpprintf(size_t max_len, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
-
#include "zend_globals.h"
static zend_always_inline void zend_rethrow_exception(zend_execute_data *execute_data)