1--TEST-- 2Location: headers respect the header() response code parameter 3--CGI-- 4--FILE-- 5<?php 6header('Location: http://example.com/', true, 404); 7?> 8--EXPECTHEADERS-- 9Status: 404 Not Found 10Location: http://example.com/ 11--EXPECT-- 12