Home
last modified time | relevance | path

Searched refs:gzuncompress (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/zlib/tests/
H A D005.phpt2 gzcompress()/gzuncompress() and invalid params
26 var_dump(gzuncompress("", 1000));
32 var_dump(gzuncompress("", -1));
37 var_dump(gzuncompress(""));
38 var_dump(gzuncompress("", 9));
40 var_dump(gzuncompress($data1));
41 var_dump(gzuncompress($data2));
43 var_dump(gzuncompress($data2));
54 Warning: gzuncompress(): %s error in %s on line %d
58 Warning: gzuncompress(): %s error in %s on line %d
[all …]
H A Dgzuncompress_basic1.phpt2 Test gzuncompress() function : basic functionality
9 echo "*** Testing gzuncompress() : basic functionality ***\n";
16 var_dump(strcmp($data, gzuncompress($compressed)));
20 echo "\n-- Calling gzuncompress() with max length of $length --\n";
21 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n";
25 *** Testing gzuncompress() : basic functionality ***
30 -- Calling gzuncompress() with max length of 3547 --
H A Dgzuncompress_error1.phpt2 Test gzuncompress() function : error conditions
7 echo "*** Testing gzuncompress() : error conditions ***\n";
14 var_dump(gzuncompress($compressed, $short_len));
17 var_dump(gzuncompress(123));
21 *** Testing gzuncompress() : error conditions ***
25 Warning: gzuncompress(): insufficient memory in %s on line %d
30 Warning: gzuncompress(): data error in %s on line %d
H A D002.phpt2 gzcompress()/gzuncompress()
10 $unpacked=gzuncompress($packed);
17 $unpacked=gzuncompress($packed, 40000);
H A Dgzcompress_basic1.phpt26 var_dump(strcmp(gzuncompress($output), $data));
33 var_dump(strcmp(gzuncompress($output), $smallstring));
39 var_dump(strcmp(gzuncompress($output), $smallstring));
H A Dbug_34821.phpt25 var_dump($s === gzuncompress(gzcompress($s)));
/php-src/ext/zlib/
H A Dzlib_arginfo.h147 ZEND_FUNCTION(gzuncompress);
178 ZEND_FE(gzuncompress, arginfo_gzuncompress)
H A Dzlib.stub.php204 function gzuncompress(string $data, int $max_length = 0): string|false {} function
H A Dzlib.c785 PHP_ZLIB_DECODE_FUNC(gzuncompress, PHP_ZLIB_ENCODING_DEFLATE);

Completed in 16 milliseconds