summaryrefslogtreecommitdiff
path: root/ext/standard/tests/streams/bug64433_srv.inc
blob: 035343369c55b773e7a30d936ee16ef05e0a8a19 (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";