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

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

Count Diff
2 (9%)
001+ leak? penultimate iteration: 234848, last one: 234848
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 (5%)
001+ leak? penultimate iteration: 127632, last one: 127632
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 (5%)
001+ leak? penultimate iteration: 127708, last one: 127708
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 (5%)
001+ leak? penultimate iteration: 235344, last one: 235344
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 (5%)
001+ leak? penultimate iteration: 235352, last one: 235352
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 (5%)
001+ leak? penultimate iteration: 239240, last one: 239240
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 (5%)
001+ leak? penultimate iteration: 240192, last one: 240192
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 (5%)
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)
1 (5%)
001+ leak? penultimate iteration: 240424, last one: 240424
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 (5%)
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 (5%)
001+ leak? penultimate iteration: 240760, last one: 240760
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 (5%)
001+ leak? penultimate iteration: 240888, last one: 240888
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 (5%)
001+ leak? penultimate iteration: 240912, last one: 240912
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 (5%)
001+ leak? penultimate iteration: 240928, last one: 240928
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 (5%)
001+ leak? penultimate iteration: 240936, last one: 240936
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 (5%)
001+ leak? penultimate iteration: 240944, last one: 240944
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 (5%)
001+ leak? penultimate iteration: 240960, last one: 240960
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 (5%)
001+ leak? penultimate iteration: 241280, last one: 241280
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 (5%)
001+ leak? penultimate iteration: 241416, last one: 241416
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 (5%)
001+ leak? penultimate iteration: 243744, last one: 243744
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 (5%)
010+ bool(false)
010- bool(true)