X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2F002.phpt;h=50ca2352248d7b3580b47a98822d04dfb537ec1d;hb=8a26d5f333910a5aa12bbe64e67be8a8d3d6ae69;hp=3a366c6038ab81ffb2831c23657f4f4eada1e4a1;hpb=9faba5e40b0a2a447a5545caf37e15b5deb9e84f;p=m6w6%2Fext-apfd diff --git a/tests/002.phpt b/tests/002.phpt index 3a366c6..50ca235 100644 --- a/tests/002.phpt +++ b/tests/002.phpt @@ -62,15 +62,24 @@ Content-Type: application/octet-stream } } +------------------------------6e182425881c +Content-Disposition: form-data; name="user" + +mike ------------------------------6e182425881c-- --FILE-- $v) { + unset($_FILES[$i]['full_path']); // only in 8.1 +} var_dump($_POST, $_FILES); ?> --EXPECTF-- -array(0) { +array(1) { + ["user"]=> + string(4) "mike" } array(2) { ["LICENSE"]=> @@ -84,7 +93,7 @@ array(2) { ["error"]=> int(0) ["size"]=> - int(13%d) + int(1340) } ["composer"]=> array(5) { @@ -99,4 +108,4 @@ array(2) { ["size"]=> int(550) } -} \ No newline at end of file +}