Skip to content

Commit abacde3

Browse files
committed
ext/standard/tests/url: Fix tests
1 parent d74ae37 commit abacde3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/tests/url/get_headers_error_003.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ $opts = array(
1313
);
1414

1515
$context = stream_context_create($opts);
16-
$headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1, $context);
16+
$headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, true, $context);
1717
echo $headers["X-Request-Method"]."\n";
1818

1919
stream_context_set_default($opts);
20-
$headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, 1);
20+
$headers = get_headers("http://".PHP_CLI_SERVER_ADDRESS, true);
2121
echo $headers["X-Request-Method"]."\n";
2222

2323
echo "Done";

0 commit comments

Comments
 (0)