![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
VII. Bzip2 Compression FunctionsIntroductionThe bzip2 functions are used to transparently read and write bzip2 (.bz2) compressed files. RequirementsThis module uses the functions of the bzip2 library by Julian Seward. This module requires bzip2/libbzip2 version >= 1.0.x. InstallationBzip2 support in PHP is not enabled by default. You will need to use the --with-bz2[=DIR] configuration option when compiling PHP to enable bzip2 support. Runtime ConfigurationThis extension has no configuration directives defined in php.ini. Resource TypesThis extension defines one resource type: a file pointer identifying the bz2-file to work on. Predefined ConstantsThis extension has no constants defined. ExamplesThis example opens a temporary file and writes a test string to it, then prints out the contents of the file.
Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|