Test: /ext/standard/tests/http/bug60570.phpt - Version 5.4.20        

Bug #60570 memory leak with create context
Submitted: 2011-12-20 05:20:49 Modified: 2011-12-21 15:45:22
From: roberto Assigned: cataphract
Status: Closed Package: Streams related
PHP Version: 5.3.8 OS: LINUX

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

Count Diff
1 (13%)
001+ leak? penultimate iteration: 259176, last one: 259176
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 247352, last one: 247352
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 240984, last one: 240984
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 240784, last one: 240784
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 240480, last one: 240480
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 240464, last one: 240464
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 240456, last one: 240456
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)
1 (13%)
001+ leak? penultimate iteration: 240224, last one: 240224
002+ bool(true)
001- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %s on line %d
003-
004- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %s on line %d
006-
007- Warning: file_get_contents(http://127.0.0.1:12342/): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
008- in %s on line %d
009- leak? penultimate iteration: %d, last one: %d
010- bool(true)