xref: /PHP-8.3/tests/basic/bug78929.phpt (revision 79376ab2)
1--TEST--
2Bug #78929 (plus signs in cookie values are converted to spaces)
3--INI--
4max_input_vars=1000
5filter.default=unsafe_raw
6--COOKIE--
7RFC6265=#$%&'()*+-./0123456789<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~!
8--FILE--
9<?php
10var_dump($_COOKIE);
11?>
12--EXPECT--
13array(1) {
14  ["RFC6265"]=>
15  string(89) "#$%&'()*+-./0123456789<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~!"
16}
17