ID: 26390 Updated by: [EMAIL PROTECTED] Reported By: 6b5bq27x02 at sneakemail dot com -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Thanks... gzpassthru()'s behavior changed slightly with the introduction of streams. The next build of the manual will have it showing an explicit gzclose(); Previous Comments: ------------------------------------------------------------------------ [2003-11-24 16:47:01] 6b5bq27x02 at sneakemail dot com Description: ------------ http://www.php.net/manual/en/ref.zlib.php In Example 1, there is a missing "gzclose($zp);" before the unlink. When the example is run "as is" it cannot unlink the tmp file because it is still open. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26390&edit=1
