mirror of
https://github.com/php/php-src.git
synced 2026-04-02 13:43:02 +02:00
fix typo (patch by Mike Wallner)
This commit is contained in:
@@ -1252,7 +1252,7 @@ ZEND_API int add_index_zval(zval *arg, ulong index, zval *value);
|
||||
|
||||
#define add_index_ascii_stringl(arg, idx, str, length, flags) do { \
|
||||
if (UG(unicode)) { \
|
||||
int ___u_len; \
|
||||
int ___u_len = length; \
|
||||
UChar *___u_str = zend_ascii_to_unicode((str), (___u_len)+1 ZEND_FILE_LINE_CC); \
|
||||
if ((flags) & ZSTR_AUTOFREE) { \
|
||||
efree(str); \
|
||||
|
||||
Reference in New Issue
Block a user