File tree 5 files changed +6
-6
lines changed
5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ compress.zstd streams basic
4
4
<?php
5
5
include (dirname (__FILE__ ) . '/data.inc ' );
6
6
7
- $ file = dirname (__FILE__ ) . '/data .out ' ;
7
+ $ file = dirname (__FILE__ ) . '/data_ ' . basename ( __FILE__ , " .php " ) . ' .out ' ;
8
8
9
9
echo "Compression with defaul level \n" ;
10
10
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ compress.zstd streams and compatibility
4
4
<?php
5
5
include (dirname (__FILE__ ) . '/data.inc ' );
6
6
7
- $ file = dirname (__FILE__ ) . '/data .out ' ;
7
+ $ file = dirname (__FILE__ ) . '/data_ ' . basename ( __FILE__ , " .php " ) . ' .out ' ;
8
8
9
9
echo "Stream compression + zstd_uncompress \n" ;
10
10
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ compress.zstd streams and big file
6
6
<?php
7
7
include (dirname (__FILE__ ) . '/data.inc ' );
8
8
9
- $ file1 = dirname (__FILE__ ) . '/data1 .out ' ;
10
- $ file2 = dirname (__FILE__ ) . '/data2 .out ' ;
9
+ $ file1 = dirname (__FILE__ ) . '/data1_ ' . basename ( __FILE__ , " .php " ) . ' .out ' ;
10
+ $ file2 = dirname (__FILE__ ) . '/data2_ ' . basename ( __FILE__ , " .php " ) . ' .out ' ;
11
11
12
12
echo "Compress \n" ;
13
13
var_dump (copy (PHP_BINARY , 'compress.zstd:// ' . $ file1 ));
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ compress.zstd streams with file functions
4
4
<?php
5
5
include (dirname (__FILE__ ) . '/data.inc ' );
6
6
7
- $ file = dirname (__FILE__ ) . '/data .out ' ;
7
+ $ file = dirname (__FILE__ ) . '/data_ ' . basename ( __FILE__ , " .php " ) . ' .out ' ;
8
8
9
9
echo "Compression \n" ;
10
10
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ if (LIBZSTD_VERSION_NUMBER < 10400) die("skip needs libzstd 1.4.0");
8
8
<?php
9
9
include (dirname (__FILE__ ) . '/data.inc ' );
10
10
11
- $ file = dirname (__FILE__ ) . '/data .out ' ;
11
+ $ file = dirname (__FILE__ ) . '/data_ ' . basename ( __FILE__ , " .php " ) . ' .out ' ;
12
12
$ dictionary = file_get_contents (dirname (__FILE__ ) . '/data.dic ' );
13
13
14
14
echo "Compression \n" ;
You can’t perform that action at this time.
0 commit comments