projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- fix PHP4 build (has no only_exceptions INI setting
[m6w6/ext-http]
/
tests
/
chunked_decode_001.phpt
1
--TEST--
2
http_chunked_decode()
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
?>
7
--FILE--
8
<?php
9
echo "-TEST\n";
10
$data =
11
"02\r\n".
12
"ab\r\n".
13
"03\r\n".
14
"a\nc\r\n".
15
"04\r\n".
16
"abcd\r\n".
17
"0\r\n".
18
"abracadabra\n";
19
var_dump(http_chunked_decode($data));
20
?>
21
--EXPECTF--
22
%sTEST
23
string(9) "aba
24
cabcd"
25