Skip to content

Commit 049a2bf

Browse files
authored
use ZSTR_IS_INTERNED() (#1849)
1 parent 99f0492 commit 049a2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contrib/php_array_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ char *php_array_zval_to_string(zval *z, int *plen, zend_bool *pfree) {
350350
zval c = *z;
351351
zval_copy_ctor(&c);
352352
convert_to_string(&c);
353-
*pfree = ! IS_INTERNED(Z_STR(c));
353+
*pfree = ! ZSTR_IS_INTERNED(Z_STR(c));
354354
*plen = Z_STRLEN(c);
355355
return Z_STRVAL(c);
356356
}

0 commit comments

Comments
 (0)