Merge branch 'master' into phpng
[m6w6/ext-http] / tests / header007.phpt
1 --TEST--
2 header parse error
3 --SKIPIF--
4 <?php
5 include "skipif.inc";
6 ?>
7 --FILE--
8 <?php
9
10 echo "Test\n";
11
12 $header = "wass\nup";
13 http\Header::parse($header);
14
15 ?>
16 Done
17 --EXPECTF--
18 Test
19
20 Warning: http\Header::parse(): Could not parse headers in %s on line %d
21 Done