- bugs
[m6w6/ext-http] / tests / split_response_001.phpt
index 799e23a2814248220abb37c4a91c4ce08bd814ee..95b8638437db9996dab5c1ba918c5f2a1f8e1cbc 100644 (file)
@@ -6,7 +6,9 @@ include 'skip.inc';
 ?>
 --FILE--
 <?php
-var_export(http_split_response("HTTP/1.1 200 Ok\r\nContent-Type: text/plain\r\nContent-Language: de-AT\r\nDate: Sat, 22 Jan 2005 18:10:02 GMT\r\n\r\nHallo Du!"));
+$data = "HTTP/1.1 200 Ok\r\nContent-Type: text/plain\r\nContent-Language: de-AT\r\nDate: Sat, 22 Jan 2005 18:10:02 GMT\r\n\r\nHallo Du!";
+var_export(http_split_response($data));
+echo "\nDone\n";
 ?>
 --EXPECTF--
 Content-type: text/html
@@ -22,3 +24,5 @@ array (
   ),
   1 => 'Hallo Du!',
 )
+Done
+