projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- incorporate static property routines into missing.c
[m6w6/ext-http]
/
tests
/
parse_headers_001.phpt
diff --git
a/tests/parse_headers_001.phpt
b/tests/parse_headers_001.phpt
index cbb742b57b0790343c44fc9b704472118a4f5ba8..1e095f2dd1d933959f24fd67e47162766c842b5e 100644
(file)
--- a/
tests/parse_headers_001.phpt
+++ b/
tests/parse_headers_001.phpt
@@
-1,11
+1,12
@@
--TEST--
http_parse_headers()
--SKIPIF--
--TEST--
http_parse_headers()
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
?>
--FILE--
<?php
include 'skip.inc';
?>
--FILE--
<?php
+echo "-TEST\n";
print_r(http_parse_headers(
"Host: localhost\r\n".
"Host: ambigious\r\n".
print_r(http_parse_headers(
"Host: localhost\r\n".
"Host: ambigious\r\n".
@@
-22,7
+23,8
@@
print_r(http_parse_headers(
));
?>
--EXPECTF--
));
?>
--EXPECTF--
-%sArray
+%sTEST
+Array
(
[Host] => Array
(
(
[Host] => Array
(
@@
-37,4
+39,5
@@
print_r(http_parse_headers(
[Folded] => one
two
three
[Folded] => one
two
three
-)
\ No newline at end of file
+)
+