projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
654450f
)
- add second host header
author
Michael Wallner
<mike@php.net>
Tue, 3 May 2005 06:38:37 +0000
(06:38 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 3 May 2005 06:38:37 +0000
(06:38 +0000)
tests/parse_headers_001.phpt
patch
|
blob
|
history
diff --git
a/tests/parse_headers_001.phpt
b/tests/parse_headers_001.phpt
index 61ee93e2ebe1426e928b776654f183172497eb21..cb75a0e63acb892b790ad19ef51da35d9fe66c3e 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".
+"Host: ambigious\r\n".
"Nospace:here\r\n".
"Muchspace: there \r\n".
"Empty:\r\n".
@@
-26,7
+27,12
@@
X-Powered-By: PHP/%s
Array
(
- [Host] => localhost
+ [Host] => Array
+ (
+ [0] => localhost
+ [1] => ambigious
+ )
+
[Nospace] => here
[Muchspace] => there
[Empty] =>