diff options
author | Anatol Belski <ab@php.net> | 2016-10-13 09:50:32 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-13 09:50:32 +0200 |
commit | 3104882cf873308c43dca20bdfd698dd3470a246 (patch) | |
tree | eac9e5edc05232830f3f8a59d17d738a7a9e779a /Zend/zend_exceptions.c | |
parent | cd8c9b06149dc7dc0415524f1d74880fd6f2d25c (diff) | |
download | php-git-3104882cf873308c43dca20bdfd698dd3470a246.tar.gz |
Revert "export symbol missing by phpdbg"
This reverts commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1.
Overseen strpprintf is there
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r-- | Zend/zend_exceptions.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 388c982115..89c94eb56f 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -696,6 +696,18 @@ size_t zend_spprintf(char **message, size_t max_len, const char *format, ...) /* } /* }}} */ +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) |