ң

bzwrite

(PHP 4 >= 4.0.4)

bzwrite - bzip2-.

int bzwrite (resource bz, string data [, int length])

bzwrite() data bzip2-, bz . length , length () , ģ ң.

1. bzwrite()
<?php $str = "uncompressed data"; $bz = bzopen("/tmp/foo.bz2", "w"); bzwrite($bz, $str, strlen($str)); bzclose($bz); ?>

. bzread() bzopen() .


ң
bzread