Test: /ext/standard/tests/http/bug53198.phpt - Version 5.4.39        

Bug #53198 "From:" header sent on http request when using stream_context.
Submitted: 2010-10-29 09:52:30 Modified: 2010-11-24 12:02:25
From: RQuadling Assigned: cataphract
Status: Closed Package: Streams related
PHP Version: 5.3SVN-2010-10-29 (SVN) OS: Windows XP SP3

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

Count Diff
206 (96%)
002+ string(0) ""
002- string(63) "GET / HTTP/1.0
003- From: teste@teste.pt
004- Host: 127.0.0.1:12342
005-
006- "
004+ string(0) ""
008- string(62) "GET / HTTP/1.0
009- From: junk@junk.com
010- Host: 127.0.0.1:12342
011-
012- "
4 (2%)
002+ string(78) "GET / HTTP/1.1
003+ User-Agent: PHP/5.4.39
002- string(63) "GET / HTTP/1.0
003- From: teste@teste.pt
005+ Accept: */*
008- string(62) "GET / HTTP/1.0
009- From: junk@junk.com
009+ string(78) "GET / HTTP/1.1
010+ User-Agent: PHP/5.4.39
012+ Accept: */*
2 (1%)
002+ string(78) "GET / HTTP/1.1
003+ User-Agent: PHP/5.4.39
002- string(63) "GET / HTTP/1.0
003- From: teste@teste.pt
005+ Accept: */*
008- string(62) "GET / HTTP/1.0
009+ string(0) ""
009- From: junk@junk.com
010- Host: 127.0.0.1:12342
011-
012- "
1 (0%)
002+ string(0) ""
002- string(63) "GET / HTTP/1.0
003- From: teste@teste.pt
004- Host: 127.0.0.1:12342
005-
006- "
004+ string(0) ""
008- string(62) "GET / HTTP/1.0
009- From: junk@junk.com
010- Host: 127.0.0.1:12342
011-
012-
1 (0%)