curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set

 [2014-07-17 15:20 UTC] jille at hexon dot cx

Description:
------------
In #66562 curl_multi_getcontent was fixed to return an empty string when the response was 0 bytes. I think it should only return an empty string when the response was empty and should return NULL when the write method is not PHP_CURL_RETURN.


 [2014-07-17 15:25 UTC] jille at hexon dot cx

-Summary: curl_multi_getcontent returns '' when isn't CURLOPT_RETURNTRANSFER +Summary: curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set

 [2014-07-17 15:25 UTC] jille at hexon dot cx

(fixed grammar)

 [2014-12-01 06:26 UTC] stas@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: stas

 [2014-12-01 06:26 UTC] stas@php.net

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.