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

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 3 different diffs reported by users for this test.

Count Diff
1 (33%)
001+ leak? penultimate iteration: 269992, last one: 269992
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 (33%)
001+ leak? penultimate iteration: 235208, last one: 235208
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 (33%)
001+ leak? penultimate iteration: 136704, last one: 136704
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)