summaryrefslogtreecommitdiff
path: root/ext/standard/tests/streams/bug64433_srv.inc
blob: dcdb1bcbaaa6941a9784cf71eea3e92958afd123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(!empty($_REQUEST["redir"])) {
	echo "REDIRECTED\n";
	return;
}

if(!empty($_REQUEST["loc"])) {
	header("Location: index.php?redir=1");
}

if(!empty($_REQUEST["status"])) {
	http_response_code($_REQUEST["status"]);
}

echo "HELLO!\n";