PHP 忒聊
綴豖
ヶ輛
bzwrite
(PHP 4 = 4.0.4)
Description
bzwrite() writes the contents of the string data to the bzip2 file stream pointed to by bz. If the optional length argument is given, writing will stop after length (uncompressed) bytes have been written or the end of string is reached, whichever comes first.
瞰赽 1. bzwrite() Example
?php $str = "uncompressed data"; $bz = bzopen("/tmp/foo.bz2", "w"); bzwrite($bz, $str, strlen($str)); bzclose($bz);?
See also bzread() and bzopen().
綴豖
れ萸
ヶ輛
bzread
奻珨撰
Calendar functions