- This must not be changed here
[m6w6/ext-http] / tests / parse_headers_001.phpt
index 61ee93e2ebe1426e928b776654f183172497eb21..cbb742b57b0790343c44fc9b704472118a4f5ba8 100644 (file)
@@ -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".
@@ -21,12 +22,14 @@ print_r(http_parse_headers(
 ));
 ?>
 --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] =>