projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix long/int mismatch
[m6w6/ext-http]
/
tests
/
envrequestbody003.phpt
diff --git
a/tests/envrequestbody003.phpt
b/tests/envrequestbody003.phpt
index a22dbbdb81ce3f54aef69b69db10339de57a7e46..c2bde8381feab2ea7642674e171f70d4683f244e 100644
(file)
--- a/
tests/envrequestbody003.phpt
+++ b/
tests/envrequestbody003.phpt
@@
-1,7
+1,7
@@
--TEST--
env request body
--SKIPIF--
--TEST--
env request body
--SKIPIF--
-<?
include "skipif.inc";
+<?
php include "skipif.inc"; ?>
--PUT--
Content-Type: multipart/form-data;boundary=123
--123
--PUT--
Content-Type: multipart/form-data;boundary=123
--123
@@
-18,7
+18,7
@@
Content-Disposition: form-data; name="up"; filename="up.txt"
foo=bar&baz=buh
--123--
--FILE--
foo=bar&baz=buh
--123--
--FILE--
-<?
+<?
php
var_dump($_POST);
var_dump($_FILES);
?>
var_dump($_POST);
var_dump($_FILES);
?>
@@
-38,7
+38,7
@@
array(1) {
["type"]=>
string(0) ""
["tmp_name"]=>
["type"]=>
string(0) ""
["tmp_name"]=>
- string(
14
) "%s"
+ string(
%d
) "%s"
["error"]=>
int(0)
["size"]=>
["error"]=>
int(0)
["size"]=>