projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
* simplify HTTPi_Response::send() a lot
[m6w6/ext-http]
/
tests
/
030_send_data.phpt
1
--TEST--
2
http_send_data()
3
--SKIPIF--
4
<?php
5
extension_loaded('http') or die('ext/http not available');
6
strncasecmp(PHP_SAPI, 'CLI', 3) or die('cannot run tests with CLI');
7
?>
8
--FILE--
9
<?php
10
http_content_type('text/plain');
11
http_send_data(str_repeat('123abc', 1));
12
?>
13
--EXPECTREGEX--
14
.+\s+.+\s+(abc|[123abc]{,100000})