projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- no user debug callbacks any longer
[m6w6/ext-http]
/
tests
/
split_response_001.phpt
diff --git
a/tests/split_response_001.phpt
b/tests/split_response_001.phpt
index 799e23a2814248220abb37c4a91c4ce08bd814ee..f3d73a5e7aab8408adeb1e621f01746019f3b2c7 100644
(file)
--- a/
tests/split_response_001.phpt
+++ b/
tests/split_response_001.phpt
@@
-6,12
+6,13
@@
include 'skip.inc';
?>
--FILE--
<?php
?>
--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!"));
+echo "-TEST\n";
+$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--
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
array (
0 =>
array (
array (
0 =>
array (
@@
-22,3
+23,5
@@
array (
),
1 => 'Hallo Du!',
)
),
1 => 'Hallo Du!',
)
+Done
+