Home
last modified time | relevance | path

Searched refs:gzcompress (Results 1 – 13 of 13) sorted by relevance

/PHP-5.3/ext/zlib/tests/
H A Dgzcompress_error1.phpt2 Test gzcompress() function : error conditions
11 /* Prototype : string gzcompress(string data [, int level])
21 echo "*** Testing gzcompress() : error conditions ***\n";
24 echo "\n-- Testing gzcompress() function with Zero arguments --\n";
25 var_dump( gzcompress() );
32 var_dump( gzcompress($data, $level, $extra_arg) );
36 var_dump(gzcompress($data, $bad_level));
46 var_dump(gzcompress($testclass));
48 var_dump(gzcompress($data, $testclass));
54 *** Testing gzcompress() : error conditions ***
[all …]
H A Dgzcompress_variation1.phpt2 Test gzcompress() function : variation
11 /* Prototype : string gzcompress(string data [, int level])
19 echo "*** Testing gzcompress() : variation ***\n";
24 $output = gzcompress($data);
26 var_dump(md5(gzcompress($output)));
31 *** Testing gzcompress() : variation ***
H A D005.phpt2 gzcompress()/gzuncompress() and invalid params
8 var_dump(gzcompress());
9 var_dump(gzcompress("", 1000));
10 var_dump(gzcompress("", -1));
12 var_dump(gzcompress(""));
13 var_dump(gzcompress("", 9));
19 var_dump($data1 = gzcompress($string));
20 var_dump($data2 = gzcompress($string, 9));
38 Warning: gzcompress() expects at least 1 parameter, 0 given in %s on line %d
41 Warning: gzcompress(): compression level (1000) must be within -1..9 in %s on line %d
H A Dgzcompress_basic1.phpt2 Test gzcompress() function : basic functionality
11 /* Prototype : string gzcompress(string data [, int level])
23 echo "*** Testing gzcompress() : basic functionality ***\n";
30 // Calling gzcompress() with all possible arguments
35 $output = gzcompress($data, $i);
43 $output = gzcompress($smallstring, $i);
48 // Calling gzcompress() with mandatory arguments
50 var_dump( bin2hex(gzcompress($smallstring) ));
55 *** Testing gzcompress() : basic functionality ***
H A D002.phpt2 gzcompress()/gzuncompress()
8 $packed=gzcompress($original);
15 $packed=gzcompress($original, 9);
H A Dgzinflate_error1.phpt21 echo "\n-- Testing gzcompress() function with Zero arguments --\n";
24 echo "\n-- Testing gzcompress() function with more than expected no. of arguments --\n";
32 $compressed = gzcompress($data);
53 -- Testing gzcompress() function with Zero arguments --
58 -- Testing gzcompress() function with more than expected no. of arguments --
H A Dbug_34821.phpt25 var_dump($s === gzuncompress(gzcompress($s)));
H A Dgzuncompress_basic1.phpt23 $compressed = gzcompress($data);
H A Dbug60761.phpt17 // gzcompress on CLI or CGI
H A Dgzuncompress_error1.phpt35 $compressed = gzcompress($data);
/PHP-5.3/ext/zlib/
H A Dzlib.c100 static PHP_FUNCTION(gzcompress);
210 PHP_FE(gzcompress, arginfo_gzcompress)
491 static PHP_FUNCTION(gzcompress) in PHP_FUNCTION() argument
/PHP-5.3/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc262 $data = gzcompress($data);
/PHP-5.3/
H A Drun-tests.php1728 $post = gzcompress($post, 9);

Completed in 20 milliseconds