Skip to content

Commit 987f327

Browse files
committed
use empty string pointer
1 parent a784b17 commit 987f327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/html.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ static void php_html_entities(INTERNAL_FUNCTION_PARAMETERS, int all)
13211321
ZEND_PARSE_PARAMETERS_END();
13221322

13231323
if (EXPECTED(ZSTR_LEN(str) == 0)) {
1324-
RETVAL_STR_COPY(str);
1324+
RETURN_EMPTY_STRING();
13251325
return;
13261326
}
13271327
replaced = php_escape_html_entities_ex(

0 commit comments

Comments
 (0)