summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/024.phpt31
-rw-r--r--tests/basic/024_1.phpt29
-rw-r--r--tests/basic/026.phpt18
-rw-r--r--tests/basic/026_1.phpt16
4 files changed, 0 insertions, 94 deletions
diff --git a/tests/basic/024.phpt b/tests/basic/024.phpt
deleted file mode 100644
index 2e046c0cd8..0000000000
--- a/tests/basic/024.phpt
+++ /dev/null
@@ -1,31 +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--
-Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
-
-Warning: Cannot modify header information - headers already sent in Unknown on line 0
-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/024_1.phpt b/tests/basic/024_1.phpt
deleted file mode 100644
index f98af82995..0000000000
--- a/tests/basic/024_1.phpt
+++ /dev/null
@@ -1,29 +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);
-?>
---EXPECTF--
-Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d
-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"
- }
-}
-NULL
diff --git a/tests/basic/026.phpt b/tests/basic/026.phpt
deleted file mode 100644
index a3e34f49f2..0000000000
--- a/tests/basic/026.phpt
+++ /dev/null
@@ -1,18 +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--
-Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
-
-Warning: Cannot modify header information - headers already sent in Unknown on line 0
-array(0) {
-}
-string(9) "a=1&b=ZYX"
diff --git a/tests/basic/026_1.phpt b/tests/basic/026_1.phpt
deleted file mode 100644
index 527a795f67..0000000000
--- a/tests/basic/026_1.phpt
+++ /dev/null
@@ -1,16 +0,0 @@
---TEST--
-Registration of HTTP_RAW_POST_DATA due to unknown content-type
---INI--
-always_populate_raw_post_data=-1
---POST_RAW--
-Content-Type: unknown/type
-a=1&b=ZYX
---FILE--
-<?php
-var_dump($_POST, $HTTP_RAW_POST_DATA);
-?>
---EXPECTF--
-Notice: Undefined variable: HTTP_RAW_POST_DATA in %s on line %d
-array(0) {
-}
-NULL