#26390 [NEW]: Zlib Example has Error
| From: | 6b5bq27x02 at sneakemail dot com | Date: | Mon, 24 Nov 2003 21:47:01 +0000 |
| Subject: | #26390 [NEW]: Zlib Example has Error | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969357046@lists.php.net to get a copy of this message | ||
From: 6b5bq27x02 at sneakemail dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Zlib Example has Error
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 bug report at http://bugs.php.net/?id=26390&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26390&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26390&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26390&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26390&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26390&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26390&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26390&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26390&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26390&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26390&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26390&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26390&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26390&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26390&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26390&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26390&r=float