diff options
author | Michael Wallner <mike@php.net> | 2013-08-14 14:42:36 +0200 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2013-08-27 13:43:22 +0200 |
commit | bb1f9d3826c968ce0c099598ded6f646b3da6429 (patch) | |
tree | 22f88cf937d8909ef099797198b6ccb114cffa57 /tests | |
parent | a13c00cd14179971efd60e8acb450a615c2aff22 (diff) | |
download | php-git-bb1f9d3826c968ce0c099598ded6f646b3da6429.tar.gz |
slim post data
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/024.phpt | 28 | ||||
-rw-r--r-- | tests/basic/026.phpt | 15 |
2 files changed, 0 insertions, 43 deletions
diff --git a/tests/basic/024.phpt b/tests/basic/024.phpt deleted file mode 100644 index bf8a206b3a..0000000000 --- a/tests/basic/024.phpt +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Test HTTP_RAW_POST_DATA creation ---INI-- -always_populate_raw_post_data=1 -max_input_vars=1000 ---POST-- -a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3 ---FILE-- -<?php -var_dump($_POST, $HTTP_RAW_POST_DATA); -?> ---EXPECT-- -array(3) { - ["a"]=> - string(3) "ABC" - ["y"]=> - string(3) "XYZ" - ["c"]=> - array(3) { - [0]=> - string(1) "1" - [1]=> - string(1) "2" - ["a"]=> - string(1) "3" - } -} -string(30) "a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3" diff --git a/tests/basic/026.phpt b/tests/basic/026.phpt deleted file mode 100644 index b98a31f430..0000000000 --- a/tests/basic/026.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Registration of HTTP_RAW_POST_DATA due to unknown content-type ---INI-- -always_populate_raw_post_data=0 ---POST_RAW-- -Content-Type: unknown/type -a=1&b=ZYX ---FILE-- -<?php -var_dump($_POST, $HTTP_RAW_POST_DATA); -?> ---EXPECT-- -array(0) { -} -string(9) "a=1&b=ZYX" |