Req #67643 [Opn]: curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set

From: Date: Thu, 17 Jul 2014 15:25:17 +0000
Subject: Req #67643 [Opn]: curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186696@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67643&edit=1 ID: 67643 User updated by: jille at hexon dot cx Reported by: 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 Status: Open Type: Feature/Change Request Package: cURL related Operating System: Irrelevant PHP Version: master-Git-2014-07-17 (Git) Block user comment: N Private report: N New Comment: (fixed grammar) Previous Comments: ------------------------------------------------------------------------ [2014-07-17 15:20:32] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67643&edit=1

« previous php.bugs (#186696) next »