/php-src/ext/bz2/ |
H A D | config.m4 | 1 PHP_ARG_WITH([bz2], 3 [AS_HELP_STRING([[--with-bz2[=DIR]]], 19 PHP_CHECK_LIBRARY([bz2], [BZ2_bzerror], [ 21 PHP_ADD_LIBRARY_WITH_PATH([bz2], 25 [Define to 1 if the PHP extension 'bz2' is available.]) 27 [AC_MSG_FAILURE([The bz2 extension requires libbz2 >= 1.0.0])], 30 PHP_NEW_EXTENSION([bz2], [bz2.c bz2_filter.c], [$ext_shared])
|
H A D | config.w32 | 3 ARG_WITH("bz2", "BZip2", "no"); 6 if (CHECK_LIB("libbz2_a.lib;libbz2.lib", "bz2", PHP_BZ2) && 8 EXTENSION("bz2", "bz2.c bz2_filter.c"); 9 AC_DEFINE('HAVE_BZ2', 1, "Define to 1 if the PHP extension 'bz2' is available."); 15 WARNING("bz2 not enabled; libraries and headers not found");
|
H A D | bz2.c | 39 static PHP_MINIT_FUNCTION(bz2); 40 static PHP_MSHUTDOWN_FUNCTION(bz2); 41 static PHP_MINFO_FUNCTION(bz2); 47 PHP_MINIT(bz2), 48 PHP_MSHUTDOWN(bz2), 51 PHP_MINFO(bz2), 57 ZEND_GET_MODULE(bz2) 278 static PHP_MINIT_FUNCTION(bz2) in PHP_MINIT_FUNCTION() argument 285 static PHP_MSHUTDOWN_FUNCTION(bz2) in PHP_MSHUTDOWN_FUNCTION() argument 293 static PHP_MINFO_FUNCTION(bz2) in PHP_MINFO_FUNCTION() argument
|
/php-src/ext/phar/tests/tar/ |
H A D | tar_makebz2.phpt | 5 bz2 12 $fname2 = __DIR__ . '/tar_makebz2.phar.tar.bz2'; 13 $fname3 = __DIR__ . '/tar_makebz2_b.phar.tar.bz2'; 29 @unlink(__DIR__ . '/tar_makebz2.phar.bz2'); 31 @unlink(__DIR__ . '/tar_makebz2.phar.tar.bz2'); 32 @unlink(__DIR__ . '/tar_makebz2_b.phar.tar.bz2');
|
H A D | phar_convert_phar3.phpt | 5 bz2 32 copy($fname . '.bz2', $fname2); 42 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.bz2');
|
H A D | tar_bz2.phpt | 5 bz2 18 $tar = new tarmaker($fname, 'bz2');
|
/php-src/ext/bz2/tests/ |
H A D | bzerr_functions_on_invalid_stream.phpt | 2 Calling bzerr* functions on non-bz2 streams 4 bz2 25 bzerrno(): Argument #1 ($bz) must be a bz2 stream 26 bzerrstr(): Argument #1 ($bz) must be a bz2 stream 27 bzerror(): Argument #1 ($bz) must be a bz2 stream
|
H A D | bug81092.phpt | 4 bz2 7 $stream = fopen(__DIR__ . "/81092.bz2", 'wb+'); 13 var_dump(strlen(bzdecompress(file_get_contents(__DIR__ . "/81092.bz2")))); 17 @unlink(__DIR__ . "/81092.bz2");
|
H A D | bug72613.phpt | 4 bz2 7 $fp = bzopen(__DIR__.'/72613.bz2', 'r');
|
H A D | with_files.phpt | 4 bz2 10 $filename = "with_files.bz2";
|
H A D | bug51997.phpt | 4 bz2 10 $filename = "bug51997.bz2";
|
H A D | 003-mb.phpt | 4 bz2 8 $fd = bzopen(__DIR__."/003私はガラスを食べられます.txt.bz2","r");
|
H A D | 003.phpt | 4 bz2 8 $fd = bzopen(__DIR__."/003.txt.bz2","r");
|
H A D | 004.phpt | 4 bz2 8 $fd = bzopen(__DIR__."/004_1.txt.bz2","r"); 13 $fd2 = bzopen(__DIR__."/004_2.txt.bz2","r");
|
/php-src/ext/standard/tests/streams/ |
H A D | bug81346.phpt | 6 bz2 9 $s = fopen("compress.bzip2://" . __DIR__ . "/bug81346.bz2", "w"); 16 @unlink(__DIR__ . "/bug81346.bz2");
|
H A D | bug75776.phpt | 5 bz2 10 'bz2' => ['bzip2.compress', 'bzdecompress'] 29 @unlink(__DIR__ . "/75776.bz2");
|
/php-src/ext/phar/tests/ |
H A D | phar_get_supportedcomp1.phpt | 2 Phar::getSupportedCompression() (bz2 and zlib) 5 bz2
|
H A D | phar_get_supportedcomp2.phpt | 2 Phar::getSupportedCompression() (bz2 only) 5 bz2
|
H A D | phar_get_supportedcomp3.phpt | 7 <?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?>
|
H A D | phar_get_supportedcomp4.phpt | 6 <?php if (extension_loaded("bz2")) die("skip bz2 is available"); ?>
|
H A D | phar_convert_tar3.phpt | 2 Phar::convertToTar() bz2 compressed 5 bz2 14 $fname2 = __DIR__ . '/' . basename(__FILE__, '.php') . '.phar.tar.bz2'; 46 unlink(__DIR__ . '/' . basename(__FILE__, '.clean.php') . '.phar.tar.bz2');
|
H A D | phpinfo_003.phpt | 8 if (extension_loaded("bz2")) die("skip bz2 loaded"); 30 bzip2 compression => disabled (install ext/bz2)
|
H A D | phar_bz2.phpt | 5 bz2 27 $bz2 = true;
|
H A D | 003.phpt | 9 extension_loaded("zlib") || extension_loaded("bz2")
|
H A D | 003a.phpt | 8 var_dump(Phar::canCompress(Phar::BZ2) == extension_loaded("bz2"));
|