projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- API juggling
[m6w6/ext-http]
/
tests
/
chunked_decode_001.phpt
diff --git
a/tests/chunked_decode_001.phpt
b/tests/chunked_decode_001.phpt
index dd53ea4a27ed0c7702d8249336561dfb48968f41..27f750b1bfecc6e9ad96af0c305fc91953412889 100644
(file)
--- a/
tests/chunked_decode_001.phpt
+++ b/
tests/chunked_decode_001.phpt
@@
-1,12
+1,13
@@
--TEST--
http_chunked_decode()
--SKIPIF--
--TEST--
http_chunked_decode()
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
?>
--FILE--
<?php
include 'skip.inc';
?>
--FILE--
<?php
-$data =
+echo "-TEST\n";
+$data =
"02\r\n".
"ab\r\n".
"03\r\n".
"02\r\n".
"ab\r\n".
"03\r\n".
@@
-18,8
+19,7
@@
$data =
var_dump(http_chunked_decode($data));
?>
--EXPECTF--
var_dump(http_chunked_decode($data));
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
string(9) "aba
cabcd"
string(9) "aba
cabcd"
+