projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7fb4dd1141a7dc01174d842903677bb13200b796
[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(): Failed to parse headers: unexpected end of line at pos 4 of 'wass\nup' in %s on line %d
21
Done