projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- better inline docs part #1
[m6w6/ext-http]
/
tests
/
redirect_001.phpt
diff --git
a/tests/redirect_001.phpt
b/tests/redirect_001.phpt
index 9180619587d976a4a4946d4cb97c8c2eeb70ad57..d4e7bbd7a778e8bb5ac83fbba9039c6e3bfacef9 100644
(file)
--- a/
tests/redirect_001.phpt
+++ b/
tests/redirect_001.phpt
@@
-3,9
+3,14
@@
http_redirect() with params
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
+checkcgi();
?>
?>
+--ENV--
+HTTP_HOST=localhost
--FILE--
<?php
--FILE--
<?php
+include 'log.inc';
+log_prepare(_REDIR_LOG);
http_redirect('redirect', array('a' => 1, 'b' => 2));
?>
--EXPECTF--
http_redirect('redirect', array('a' => 1, 'b' => 2));
?>
--EXPECTF--