We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50a3f3a commit 2f8eaf2Copy full SHA for 2f8eaf2
Zend/zend_smart_str.c
@@ -45,7 +45,7 @@ ZEND_API void ZEND_FASTCALL smart_str_erealloc(smart_str *str, size_t len)
45
ZEND_API void ZEND_FASTCALL smart_str_realloc(smart_str *str, size_t len)
46
{
47
if (UNEXPECTED(!str->s)) {
48
- str->a = len <= SMART_STR_START_SIZE
+ str->a = len <= SMART_STR_START_LEN
49
? SMART_STR_START_LEN
50
: SMART_STR_NEW_LEN(len);
51
str->s = zend_string_alloc(str->a, 1);
0 commit comments