summaryrefslogtreecommitdiff
path: root/tests/basic/022.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2020-09-28 21:42:19 -0700
committerStanislav Malyshev <stas@php.net>2020-09-28 22:54:57 -0700
commitc4dc080245006e011a484ca609b9d4eaa6cc4963 (patch)
tree5268ce0564a1f1f4d8252450b0c8822ccc9174be /tests/basic/022.phpt
parent626705fb9de6211ee912b737e7a00bfe63fdea63 (diff)
parenta9e4321846dcba0eade116c1d9abc388df8100fc (diff)
downloadphp-git-c4dc080245006e011a484ca609b9d4eaa6cc4963.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Update UPGRADING Update NEWS & UPGRADING Do not decode cookie names anymore Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
Diffstat (limited to 'tests/basic/022.phpt')
-rw-r--r--tests/basic/022.phpt10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/basic/022.phpt b/tests/basic/022.phpt
index 0ab70d4be7..bd1db13701 100644
--- a/tests/basic/022.phpt
+++ b/tests/basic/022.phpt
@@ -10,7 +10,7 @@ cookie1=val1 ; cookie2=val2%20; cookie3=val 3.; cookie 4= value 4 %3B; cookie1=
var_dump($_COOKIE);
?>
--EXPECT--
-array(10) {
+array(12) {
["cookie1"]=>
string(6) "val1 "
["cookie2"]=>
@@ -19,11 +19,15 @@ array(10) {
string(6) "val 3."
["cookie_4"]=>
string(10) " value 4 ;"
+ ["%20cookie1"]=>
+ string(6) "ignore"
+ ["+cookie1"]=>
+ string(6) "ignore"
["cookie__5"]=>
string(7) " value"
- ["cookie_6"]=>
+ ["cookie%206"]=>
string(3) "þæö"
- ["cookie_7"]=>
+ ["cookie+7"]=>
string(0) ""
["$cookie_8"]=>
string(0) ""