projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- update
[m6w6/ext-http]
/
tests
/
redirect_002.phpt
1
--TEST--
2
http_redirect() with session
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
?>
7
--FILE--
8
<?php
9
session_start();
10
http_redirect('redirect', array('a' => 1), true);
11
?>
12
--EXPECTF--
13
Status: 302
14
Content-type: text/html
15
X-Powered-By: PHP/%s
16
Set-Cookie: PHPSESSID=%s; path=/
17
Expires: %s
18
Cache-Control: %s
19
Pragma: %s
20
Location: http://localhost/redirect?a=1&PHPSESSID=%s