There was an error while loading. Please reload this page.
1 parent 5918182 commit 9874226Copy full SHA for 9874226
tests/xzstream.phpt
@@ -23,7 +23,7 @@ $opts = [
23
]
24
];
25
$ctx = stream_context_create($opts);
26
-copy(PHP_BINARY, "compress.lzma://$tmp1");
+copy(PHP_BINARY, "compress.lzma://$tmp1", $ctx);
27
$len1 = filesize($tmp1);
28
var_dump($len1 > 0);
29
var_dump($len1 <= $len0);
0 commit comments