Skip to content

Commit 9874226

Browse files
committed
Fix test in 8.1
1 parent 5918182 commit 9874226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/xzstream.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $opts = [
2323
]
2424
];
2525
$ctx = stream_context_create($opts);
26-
copy(PHP_BINARY, "compress.lzma://$tmp1");
26+
copy(PHP_BINARY, "compress.lzma://$tmp1", $ctx);
2727
$len1 = filesize($tmp1);
2828
var_dump($len1 > 0);
2929
var_dump($len1 <= $len0);

0 commit comments

Comments
 (0)