|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-11-02 16:58 UTC] cataphract@php.net
-Assigned To:
+Assigned To: cataphract
[2012-07-29 00:45 UTC] cataphract@php.net
-Status: Assigned
+Status: Feedback
[2012-07-29 00:45 UTC] cataphract@php.net
[2012-07-31 16:59 UTC] kkroflin at gmail dot com
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
Description: ------------ Streaming empty file from archive issues a warning. Reproduce code: --------------- $rar = RarArchive::open($file); if($rar === false) die(); $rar_file = @$rar->getEntry($file_path); if($rar_file === false) die(); $stream = @$rar_file->getStream(); if($stream === false) die(); while(!feof($stream)) { fread($stream, 1024*1024); } Expected result: ---------------- fread() should't issue a warning. Actual result: -------------- fread() issues a warning. Warning: fread(): Extraction reported as unfinished but no data read. Please report this, as this is a bug.