We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f53dbb commit 4f36623Copy full SHA for 4f36623
ext/mbstring/mbstring.c
@@ -1534,7 +1534,7 @@ PHP_FUNCTION(mb_output_handler)
1534
1535
const mbfl_encoding *encoding = MBSTRG(current_http_output_encoding);
1536
if (encoding == &mbfl_encoding_pass) {
1537
- RETURN_STR(zend_string_copy(str));
+ RETURN_STR_COPY(str);
1538
}
1539
1540
if (arg_status & PHP_OUTPUT_HANDLER_START) {
@@ -1574,7 +1574,7 @@ PHP_FUNCTION(mb_output_handler)
1574
1575
1576
if (!MBSTRG(outconv_enabled)) {
1577
1578
1579
1580
mb_convert_buf buf;
0 commit comments