mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Changed tabs to spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291106 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0a82a13c66
commit
75226677da
2 changed files with 8 additions and 8 deletions
|
@ -56,8 +56,8 @@
|
|||
<entry>2.0.0</entry>
|
||||
<entry>
|
||||
The Rar entries returned by <function>rar_entry_get</function>
|
||||
and <function>rar_list</function> are now invalidated when
|
||||
calling <function>rar_close</function>.
|
||||
and <function>rar_list</function> are now invalidated when
|
||||
calling <function>rar_close</function>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
|
@ -53,15 +53,15 @@ if ($entry === false)
|
|||
$stream = $entry->getStream();
|
||||
if ($stream === false)
|
||||
die("Failed to obtain stream.");
|
||||
|
||||
|
||||
rar_close($rar_file); //stream is independent from file
|
||||
|
||||
while (!feof($stream)) {
|
||||
$buff = fread($stream, 8192);
|
||||
if ($buff !== false)
|
||||
echo $buff;
|
||||
else
|
||||
break; //fread error
|
||||
$buff = fread($stream, 8192);
|
||||
if ($buff !== false)
|
||||
echo $buff;
|
||||
else
|
||||
break; //fread error
|
||||
}
|
||||
|
||||
fclose($stream);
|
||||
|
|
Loading…
Reference in a new issue