<?php $start = http_response_code(); header('HTTP/1.1 404 Not Found'); $afterStatusLine = http_response_code(); header('Location: /elsewhere'); $afterLocation = http_response_code(); header('X-B: 1', true, 418); $afterThirdArgument = http_response_code(); $previous = http_response_code(500); $afterSet = http_response_code(); setcookie('seen', '1'); var_dump($start, $afterStatusLine, $afterLocation, $afterThirdArgument, $previous, $afterSet, headers_list());
You have javascript disabled. You will not be able to edit any code.