summaryrefslogtreecommitdiff
path: root/Zend/zend_string.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2016-10-12 22:18:05 +0200
committerAnatol Belski <ab@php.net>2016-10-14 01:51:21 +0200
commit4e338817d1b459a6e7d3e4ceb88ea25fec6024ea (patch)
tree4ec8bf5a5aeda803c4e27521b8029fc5d9cdd1d8 /Zend/zend_string.c
parent06df34072e8b62145e3aa2abf03430ac6c5a8a80 (diff)
downloadphp-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.c12
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