Merge branch 'R_2_1'
authorMichael Wallner <mike@php.net>
Thu, 25 Sep 2014 13:35:31 +0000 (15:35 +0200)
committerMichael Wallner <mike@php.net>
Thu, 25 Sep 2014 13:35:31 +0000 (15:35 +0200)
tests/bug67932.phpt [new file with mode: 0644]

diff --git a/tests/bug67932.phpt b/tests/bug67932.phpt
new file mode 100644 (file)
index 0000000..7ab8251
--- /dev/null
@@ -0,0 +1,18 @@
+--TEST--
+Bug #67932 (php://input always empty)
+--SKIPIF--
+<?php 
+include "skipif.inc";
+?>
+--PUT--
+Content-Type: text/xml
+
+<?xml version="1.0" encoding="utf-8" ?>
+<body>test</body>
+--FILE--
+<?php
+readfile("php://input");
+?>
+--EXPECT--
+<?xml version="1.0" encoding="utf-8" ?>
+<body>test</body>
\ No newline at end of file