diff options
author | Anatol Belski <ab@php.net> | 2016-10-12 22:18:05 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-14 01:51:21 +0200 |
commit | 4e338817d1b459a6e7d3e4ceb88ea25fec6024ea (patch) | |
tree | 4ec8bf5a5aeda803c4e27521b8029fc5d9cdd1d8 /Zend/zend_string.c | |
parent | 06df34072e8b62145e3aa2abf03430ac6c5a8a80 (diff) | |
download | php-git-4e338817d1b459a6e7d3e4ceb88ea25fec6024ea.tar.gz |
export symbol missing by phpdbg
(cherry picked from commit 611ab7fe5b9fe41de56c25b1d348a866794b1fb1)
Diffstat (limited to 'Zend/zend_string.c')
-rw-r--r-- | Zend/zend_string.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/zend_string.c b/Zend/zend_string.c index 612c8049ef..194170db0b 100644 --- a/Zend/zend_string.c +++ b/Zend/zend_string.c @@ -243,6 +243,18 @@ static void zend_interned_strings_restore_int(void) #endif } +ZEND_API 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; +} +/* }}} */ + /* * Local variables: * tab-width: 4 |