Test: /ext/curl/tests/bug48203.phpt - Version 7.1.33        

Bug #48203 crash when CURLOPT_STDERR is set to regular file
Submitted: 2009-05-09 13:44:05 Modified: 2011-09-08 14:38:23
From: php-bug Assigned: bjori
Status: Closed Package: cURL related
PHP Version: 5.*, 6CVS (2009-05-09) OS: *

There are 4 different diffs reported by users for this test.

Count Diff
117 (98%)
003+ Hello World!Ok
003- Ok
1 (1%)
001+ /etc/host.conf: line 3: bad command `nospoof on'
002+
003- Ok
005+ * Trying ::1...
006+ * Connected to localhost (::1) port 8964 (#0)
007+ > GET / HTTP/1.1
008+ Host: localhost:8964
009+ Accept: */*
010+
011+ < HTTP/1.1 200 OK
012+ < Host: localhost:8964
013+ < Date: Wed, 26 May 2021 07:25:33 +0000
014+ < Connection: close
015+ < X-Powered-By: PHP/7.1.33
016+ < Content-type: text/html; charset=UTF-8
017+ <
018+ Hello World!
019+ Hello World!* Closing connection 0
020+ Ok
1 (1%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in <b>Unknown</b> on line <b>0</b><br />
001- Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %sbug48203.php on line %d
003- Ok
1 (1%)
001- Warning: curl_exec(): CURLOPT_STDERR resource has gone away, resetting to stderr in %sbug48203.php on line %d
003- Ok