projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- This must not be changed here
[m6w6/ext-http]
/
tests
/
parse_headers_001.phpt
diff --git
a/tests/parse_headers_001.phpt
b/tests/parse_headers_001.phpt
index 61ee93e2ebe1426e928b776654f183172497eb21..cbb742b57b0790343c44fc9b704472118a4f5ba8 100644
(file)
--- a/
tests/parse_headers_001.phpt
+++ b/
tests/parse_headers_001.phpt
@@
-8,6
+8,7
@@
include 'skip.inc';
<?php
print_r(http_parse_headers(
"Host: localhost\r\n".
<?php
print_r(http_parse_headers(
"Host: localhost\r\n".
+"Host: ambigious\r\n".
"Nospace:here\r\n".
"Muchspace: there \r\n".
"Empty:\r\n".
"Nospace:here\r\n".
"Muchspace: there \r\n".
"Empty:\r\n".
@@
-21,12
+22,14
@@
print_r(http_parse_headers(
));
?>
--EXPECTF--
));
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
-Array
+%sArray
(
(
- [Host] => localhost
+ [Host] => Array
+ (
+ [0] => localhost
+ [1] => ambigious
+ )
+
[Nospace] => here
[Muchspace] => there
[Empty] =>
[Nospace] => here
[Muchspace] => there
[Empty] =>