--TEST-- http_redirect() permanent --SKIPIF-- --ENV-- HTTP_HOST=localhost --FILE-- --EXPECTF-- Status: 301 Content-type: text/html X-Powered-By: PHP/%s Location: http://localhost/redirect Redirecting to http://localhost/redirect.