- API juggling
[m6w6/ext-http] / tests / parse_headers_001.phpt
index cb75a0e63acb892b790ad19ef51da35d9fe66c3e..1e095f2dd1d933959f24fd67e47162766c842b5e 100644 (file)
@@ -1,11 +1,12 @@
 --TEST--
 http_parse_headers()
 --SKIPIF--
-<?php 
+<?php
 include 'skip.inc';
 ?>
 --FILE--
 <?php
+echo "-TEST\n";
 print_r(http_parse_headers(
 "Host: localhost\r\n".
 "Host: ambigious\r\n".
@@ -22,9 +23,7 @@ print_r(http_parse_headers(
 ));
 ?>
 --EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
 Array
 (
     [Host] => Array
@@ -40,4 +39,5 @@ Array
     [Folded] => one
        two
   three
-)
\ No newline at end of file
+)
+