cvs: php4(PHP_4_2_0) /ext/bz2/tests with_files.phpt

From: Date: Thu, 04 Apr 2002 13:58:46 +0000
Subject: cvs: php4(PHP_4_2_0) /ext/bz2/tests with_files.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10857@lists.php.net to get a copy of this message
sniper Thu Apr 4 08:58:46 2002 EDT Added files: (Branch: PHP_4_2_0) /php4/ext/bz2/tests with_files.phpt Log: MFH Index: php4/ext/bz2/tests/with_files.phpt +++ php4/ext/bz2/tests/with_files.phpt --TEST-- BZ2 with files --SKIPIF-- <?php if (!extension_loaded("bz2")) print "skip"; ?> --POST-- --GET-- --FILE-- <?php // $Id: with_files.phpt,v 1.1 2002/04/04 13:58:23 sniper Exp $ error_reporting(E_ALL); $filename = "testfile.bz2"; $str = "This is a test string.\n"; $bz = bzopen($filename, "w"); bzwrite($bz, $str); bzclose($bz); $bz = bzopen($filename, "r"); print bzread($bz, 10); print bzread($bz); bzclose($bz); unlink($filename); --EXPECT-- This is a test string.

« previous php.cvs (#10857) next »