note 36650 deleted from function.bzopen by vincent
| From: | vincent@php.net | Date: | Fri, 17 Oct 2003 11:51:28 +0000 |
| Subject: | note 36650 deleted from function.bzopen by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58757@lists.php.net to get a copy of this message | ||
Note Submitter: boryn (NOSPAM) AT o2 DOT pl
----
I can use the following code:
<?php
$logfile = bzopen('test.bz2', "w");
bzwrite($logfile, "test line\n");
bzclose($logfile);
?>
but cannot:
<?php
$logfile = bzopen('test.bz2', "a");
bzwrite($logfile, "test line\n");
bzclose($logfile);
?>
Difference is in the second parameter of bzopen();
Does anyone know the solution for this problem? Or is it a bug?