summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2017-01-02 09:42:03 +0000
committerJoe Watkins <krakjoe@php.net>2017-01-02 09:42:03 +0000
commitf8b291d2885c7b9a92d6a1af9f630ad619e4c875 (patch)
treef12fa8ebef15c2aeb9048df2bb55300df6a0a948 /Zend/zend_exceptions.c
parent8c5647eef1f456e969cb815bbb1b3e51535804e8 (diff)
parentf3f594a47d63e993595ad344614cee4a910305b1 (diff)
downloadphp-git-f8b291d2885c7b9a92d6a1af9f630ad619e4c875.tar.gz
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src: Switch reflection to use smart_str Add smart_str_append_printf Make printf_to_smart_str(ing) the primitive printf operation Export zend_s(tr)pprintf Sync smart_string implementation with smart_str Move smart_string to Zend Fixed bug #73154 Flush stderr on win32 in cli_log_message Fixed bug #73154
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r--Zend/zend_exceptions.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index 0aaca540fb..3072b182ce 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -651,30 +651,6 @@ ZEND_METHOD(exception, getPrevious)
ZVAL_COPY(return_value, GET_PROPERTY_SILENT(getThis(), ZEND_STR_PREVIOUS));
} /* }}} */
-size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* {{{ */
-{
- va_list arg;
- size_t len;
-
- va_start(arg, format);
- len = zend_vspprintf(message, max_len, format, arg);
- va_end(arg);
- return len;
-}
-/* }}} */
-
-zend_string *zend_strpprintf(size_t max_len, const char *format, ...) /* {{{ */
-{
- va_list arg;
- zend_string *str;
-
- va_start(arg, format);
- str = zend_vstrpprintf(max_len, format, arg);
- va_end(arg);
- return str;
-}
-/* }}} */
-
/* {{{ proto string Exception|Error::__toString()
Obtain the string representation of the Exception object */
ZEND_METHOD(exception, __toString)