summaryrefslogtreecommitdiff
path: root/tests/basic/026.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/026.phpt')
-rw-r--r--tests/basic/026.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic/026.phpt b/tests/basic/026.phpt
new file mode 100644
index 0000000..b98a31f
--- /dev/null
+++ b/tests/basic/026.phpt
@@ -0,0 +1,15 @@
+--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"