mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Revert "export symbol missing by phpdbg"
This reverts commit 611ab7fe5b
.
Overseen strpprintf is there
This commit is contained in:
parent
cd8c9b0614
commit
3104882cf8
@ -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)
|
||||
|
@ -198,18 +198,6 @@ 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
|
||||
|
@ -33,8 +33,6 @@ ZEND_API zend_ulong zend_hash_func(const char *str, size_t len);
|
||||
void zend_interned_strings_init(void);
|
||||
void zend_interned_strings_dtor(void);
|
||||
|
||||
ZEND_API zend_string *zend_strpprintf(size_t max_len, const char *format, ...);
|
||||
|
||||
END_EXTERN_C()
|
||||
|
||||
/* Shortcuts */
|
||||
|
Loading…
Reference in New Issue
Block a user