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 2f8fa8c commit 203ea6cCopy full SHA for 203ea6c
ext/curl/curl.c
@@ -834,7 +834,7 @@ PHP_FUNCTION(curl_exec)
834
if (ch->handlers->write->method == PHP_CURL_RETURN) {
835
if (ch->handlers->write->type != PHP_CURL_BINARY)
836
smart_str_0(&ch->handlers->write->buf);
837
- RETURN_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1);
+ RETVAL_STRINGL(ch->handlers->write->buf.c, ch->handlers->write->buf.len, 1);
838
smart_str_free(&ch->handlers->write->buf);
839
}
840
0 commit comments