--SKIPIF--
<?php
include 'skip.inc';
+checkcgi();
+checkmax(5.0);
?>
+--ENV--
+HTTP_HOST=localhost
--FILE--
<?php
+include 'log.inc';
+log_prepare(_REDIR_LOG);
http_redirect('redirect', array('a' => 1, 'b' => 2));
?>
--EXPECTF--
Status: 302
-Content-type: text/html
+Content-type: %s
X-Powered-By: PHP/%s
Location: http://localhost/redirect?a=1&b=2