summaryrefslogtreecommitdiff
path: root/tests/cookie/crypt.no_encryption.phpt
blob: 095ce5fd62bf721c897840274644369042fe6bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
cookie without encryption
--SKIPIF--
<?php include "../skipif.inc"; ?>
--INI--
suhosin.cookie.encrypt=0
--COOKIE--
a=b
--FILE--
<?php
setcookie('foo', 'bar');
$ch = preg_grep("/^Set-Cookie:/", headers_list());
echo join("\n", array_values($ch));
?>
--EXPECTF--
Set-Cookie: foo=bar