fix leaks / invalid frees
[m6w6/ext-http] / tests / bug67932.phpt
1 --TEST--
2 Bug #67932 (php://input always empty)
3 --SKIPIF--
4 <?php
5 include "skipif.inc";
6 ?>
7 --PUT--
8 Content-Type: text/xml
9
10 <?xml version="1.0" encoding="utf-8" ?>
11 <body>test</body>
12 --FILE--
13 <?php
14 readfile("php://input");
15 ?>
16 --EXPECT--
17 <?xml version="1.0" encoding="utf-8" ?>
18 <body>test</body>