|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-05-08 08:24 UTC] judas dot iscariote at gmail dot com
[2007-05-08 12:09 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 21:00:01 2025 UTC |
Description: ------------ Using the syntax given below leads to a temp file left in tmp directory. The file is file.gz with random name like php?????? Previous version 5.2.1 seems to be OK. fopen('compress.zlib://http://www.somedomain.pl/file.gz', 'rb'); Reproduce code: --------------- $f = fopen('compress.zlib://http://www.somedomain.pl/file.gz', 'rb'); if ( !$f ) die("Error"); while ( !feof($f) ) { echo fread($f, 1024); } fclose($f); Expected result: ---------------- There shouldn't be any file left in the tmp directory.