projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- docs
[m6w6/ext-http]
/
tests
/
parse_headers_001.phpt
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".
<?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".
@@
-26,7
+27,12
@@
X-Powered-By: PHP/%s
Array
(
Array
(
- [Host] => localhost
+ [Host] => Array
+ (
+ [0] => localhost
+ [1] => ambigious
+ )
+
[Nospace] => here
[Muchspace] => there
[Empty] =>
[Nospace] => here
[Muchspace] => there
[Empty] =>