Test: /ext/standard/tests/streams/bug64433.phpt - Version 7.4.8        

Bug #64433 follow_location parameter of context is ignored for most response codes
Submitted: 2013-03-15 16:41:23 Modified: 2013-03-31 03:07:43
From: akbarovs Assigned:
Status: Closed Package: Streams related
PHP Version: 5.4.13 OS: Any

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

Count Diff
1 (33%)
001+ Warning: file_put_contents(/home/siva/Downloads/php-7.4.8/sapi/cli/tests/index.php): failed to open stream: Permission denied in /home/siva/Downloads/php-7.4.8/sapi/cli/tests/php_cli_server.inc on line 16 002+ array(0) { 003+ } 001- HELLO! 003- 200: HELLO! 004- 201: HELLO! 005- 204: HELLO! 006- 301: REDIRECTED 007- 302: REDIRECTED 008- 303: REDIRECTED 009- 304: HELLO! 010- 305: HELLO! 011- 307: REDIRECTED 012- 404: HELLO! 013- 500: HELLO! 014- follow=0 015- 200: HELLO! 016- 201: HELLO! 017- 204: HELLO! 018- 301: HELLO! 019- 302: HELLO! 020- 303: HELLO! 021- 304: HELLO! 022- 305: HELLO! 023- 307: HELLO! 024- 404: HELLO! 025- 500: HELLO! 026- follow=1 027- 200: REDIRECTED 028- 201: REDIRECTED 029- 204: REDIRECTED 030- 301: REDIRECTED 031- 302: REDIRECTED 032- 303: REDIRECTED 033- 304: REDIRECTED 034- 305: REDIRECTED 035- 307: REDIRECTED 036- 404: REDIRECTED 037- 500: REDIRECTED 005+ 200: array(0) { 006+ } 007+ 201: array(0) { 008+ } 009+ 204: array(0) { 010+ } 011+ 301: array(0) { 012+ } 013+ 302: array(0) { 014+ } 015+ 303: array(0) { 016+ } 017+ 304: array(0) { 018+ } 019+ 305: array(0) { 020+ } 021+ 307: array(0) { 022+ } 023+ 404: array(0) { 024+ } 025+ 500: array(0) { 026+ } 027+ follow=0 028+ 200: array(0) { 029+ } 030+ 201: array(0) { 031+ } 032+ 204: array(0) { 033+ } 034+ 301: array(0) { 035+ } 036+ 302: array(0) { 037+ } 038+ 303: array(0) { 039+ } 040+ 304: array(0) { 041+ } 042+ 305: array(0) { 043+ } 044+ 307: array(0) { 045+ } 046+ 404: array(0) { 047+ } 048+ 500: array(0) { 049+ } 050+ follow=1 051+ 200: array(0) { 052+ } 053+ 201: array(0) { 054+ } 055+ 204: array(0) { 056+ } 057+ 301: array(0) { 058+ } 059+ 302: array(0) { 060+ } 061+ 303: array(0) { 062+ } 063+ 304: array(0) { 064+ } 065+ 305: array(0) { 066+ } 067+ 307: array(0) { 068+ } 069+ 404: array(0) { 070+ } 071+ 500: array(0) { 072+ }
1 (33%)
001+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 5 002+ 003+ Warning: file_get_contents(http://localhost:8964/index.php): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 5 001- HELLO! 003- 200: HELLO! 004- 201: HELLO! 005- 204: HELLO! 006- 301: REDIRECTED 007- 302: REDIRECTED 008- 303: REDIRECTED 009- 304: HELLO! 010- 305: HELLO! 011- 307: REDIRECTED 012- 404: HELLO! 013- 500: HELLO! 014- follow=0 015- 200: HELLO! 016- 201: HELLO! 017- 204: HELLO! 018- 301: HELLO! 019- 302: HELLO! 020- 303: HELLO! 021- 304: HELLO! 022- 305: HELLO! 023- 307: HELLO! 024- 404: HELLO! 025- 500: HELLO! 026- follow=1 027- 200: REDIRECTED 028- 201: REDIRECTED 029- 204: REDIRECTED 030- 301: REDIRECTED 031- 302: REDIRECTED 032- 303: REDIRECTED 033- 304: REDIRECTED 034- 305: REDIRECTED 035- 307: REDIRECTED 036- 404: REDIRECTED 037- 500: REDIRECTED 005+ 006+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 007+ 008+ Warning: file_get_contents(http://localhost:8964/index.php?status=200&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 009+ 200: 010+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 011+ 012+ Warning: file_get_contents(http://localhost:8964/index.php?status=201&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 013+ 201: 014+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 015+ 016+ Warning: file_get_contents(http://localhost:8964/index.php?status=204&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 017+ 204: 018+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 019+ 020+ Warning: file_get_contents(http://localhost:8964/index.php?status=301&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 021+ 301: 022+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 023+ 024+ Warning: file_get_contents(http://localhost:8964/index.php?status=302&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 025+ 302: 026+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 027+ 028+ Warning: file_get_contents(http://localhost:8964/index.php?status=303&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 029+ 303: 030+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 031+ 032+ Warning: file_get_contents(http://localhost:8964/index.php?status=304&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 033+ 304: 034+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 035+ 036+ Warning: file_get_contents(http://localhost:8964/index.php?status=305&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 037+ 305: 038+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 039+ 040+ Warning: file_get_contents(http://localhost:8964/index.php?status=307&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 041+ 307: 042+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 043+ 044+ Warning: file_get_contents(http://localhost:8964/index.php?status=404&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 045+ 404: 046+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 9 047+ 048+ Warning: file_get_contents(http://localhost:8964/index.php?status=500&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 9 049+ 500: follow=0 050+ 051+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 052+ 053+ Warning: file_get_contents(http://localhost:8964/index.php?status=200&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 054+ 200: 055+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 056+ 057+ Warning: file_get_contents(http://localhost:8964/index.php?status=201&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 058+ 201: 059+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 060+ 061+ Warning: file_get_contents(http://localhost:8964/index.php?status=204&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 062+ 204: 063+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 064+ 065+ Warning: file_get_contents(http://localhost:8964/index.php?status=301&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 066+ 301: 067+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 068+ 069+ Warning: file_get_contents(http://localhost:8964/index.php?status=302&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 070+ 302: 071+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 072+ 073+ Warning: file_get_contents(http://localhost:8964/index.php?status=303&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 074+ 303: 075+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 076+ 077+ Warning: file_get_contents(http://localhost:8964/index.php?status=304&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 078+ 304: 079+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 080+ 081+ Warning: file_get_contents(http://localhost:8964/index.php?status=305&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 082+ 305: 083+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 084+ 085+ Warning: file_get_contents(http://localhost:8964/index.php?status=307&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 086+ 307: 087+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 088+ 089+ Warning: file_get_contents(http://localhost:8964/index.php?status=404&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 090+ 404: 091+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 19 092+ 093+ Warning: file_get_contents(http://localhost:8964/index.php?status=500&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 19 094+ 500: follow=1 095+ 096+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 097+ 098+ Warning: file_get_contents(http://localhost:8964/index.php?status=200&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 099+ 200: 100+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 101+ 102+ Warning: file_get_contents(http://localhost:8964/index.php?status=201&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 103+ 201: 104+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 105+ 106+ Warning: file_get_contents(http://localhost:8964/index.php?status=204&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 107+ 204: 108+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 109+ 110+ Warning: file_get_contents(http://localhost:8964/index.php?status=301&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 111+ 301: 112+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 113+ 114+ Warning: file_get_contents(http://localhost:8964/index.php?status=302&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 115+ 302: 116+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 117+ 118+ Warning: file_get_contents(http://localhost:8964/index.php?status=303&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 119+ 303: 120+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 121+ 122+ Warning: file_get_contents(http://localhost:8964/index.php?status=304&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 123+ 304: 124+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 125+ 126+ Warning: file_get_contents(http://localhost:8964/index.php?status=305&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 127+ 305: 128+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 129+ 130+ Warning: file_get_contents(http://localhost:8964/index.php?status=307&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 131+ 307: 132+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 133+ 134+ Warning: file_get_contents(http://localhost:8964/index.php?status=404&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 135+ 404: 136+ Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug64433.php on line 29 137+ 138+ Warning: file_get_contents(http://localhost:8964/index.php?status=500&loc=1): failed to open stream: no suitable wrapper could be found in %s/bug64433.php on line 29 139+ 500:
1 (33%)
001+ Server is not accepting connections after 0 seconds 001- HELLO! 002- default 003- 200: HELLO! 004- 201: HELLO! 005- 204: HELLO! 006- 301: REDIRECTED 007- 302: REDIRECTED 008- 303: REDIRECTED 009- 304: HELLO! 010- 305: HELLO! 011- 307: REDIRECTED 012- 404: HELLO! 013- 500: HELLO! 014- follow=0 015- 200: HELLO! 016- 201: HELLO! 017- 204: HELLO! 018- 301: HELLO! 019- 302: HELLO! 020- 303: HELLO! 021- 304: HELLO! 022- 305: HELLO! 023- 307: HELLO! 024- 404: HELLO! 025- 500: HELLO! 026- follow=1 027- 200: REDIRECTED 028- 201: REDIRECTED 029- 204: REDIRECTED 030- 301: REDIRECTED 031- 302: REDIRECTED 032- 303: REDIRECTED 033- 304: REDIRECTED 034- 305: REDIRECTED 035- 307: REDIRECTED 036- 404: REDIRECTED 037- 500: REDIRECTED