projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7f6f9eb467dc5c53e7417c1504a3e251e0bc3079
[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
/* this generates two warnings because of the LF ;) */
14
http\Header::parse($header);
15
16
?>
17
Done
18
--EXPECTF--
19
Test
20
21
Warning: http\Header::parse(): Could not parse headers in %s on line %d
22
23
Warning: http\Header::parse(): Could not parse headers in %s on line %d
24
Done