<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
	<id>https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=readgzfile%28%29</id>
	<title>readgzfile() - Versionshistorik</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=readgzfile%28%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=readgzfile()&amp;action=history"/>
	<updated>2026-04-28T21:40:05Z</updated>
	<subtitle>Versionshistorik för denna sida på wikin</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.linux.se/index.php?title=readgzfile()&amp;diff=6287&amp;oldid=prev</id>
		<title>Admin: Skapade sidan med &#039;== readgzfile == &#039;&#039;&#039;(PHP 4, PHP 5, PHP 7, PHP 8)&#039;&#039;&#039;  &#039;&#039;&#039;readgzfile — Output a gz-file&#039;&#039;&#039;  === Description === &lt;code&gt; readgzfile(string $filename, int $use_include_path = 0): int|false &lt;/code&gt; Reads a file, decompresses it, and writes it to standard output.  readgzfile() can be used to read a file which is not in gzip format; in this case, it will directly read from the file without decompression.  ==== Parameters ==== &#039;&#039;&#039;filename:&#039;&#039;&#039; The file name. This file will be op...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=readgzfile()&amp;diff=6287&amp;oldid=prev"/>
		<updated>2024-12-02T10:05:51Z</updated>

		<summary type="html">&lt;p&gt;Skapade sidan med &amp;#039;== readgzfile == &amp;#039;&amp;#039;&amp;#039;(PHP 4, PHP 5, PHP 7, PHP 8)&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;readgzfile — Output a gz-file&amp;#039;&amp;#039;&amp;#039;  === Description === &amp;lt;code&amp;gt; readgzfile(string $filename, int $use_include_path = 0): int|false &amp;lt;/code&amp;gt; Reads a file, decompresses it, and writes it to standard output.  readgzfile() can be used to read a file which is not in gzip format; in this case, it will directly read from the file without decompression.  ==== Parameters ==== &amp;#039;&amp;#039;&amp;#039;filename:&amp;#039;&amp;#039;&amp;#039; The file name. This file will be op...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny sida&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== readgzfile ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;(PHP 4, PHP 5, PHP 7, PHP 8)&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;readgzfile — Output a gz-file&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
readgzfile(string $filename, int $use_include_path = 0): int|false&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Reads a file, decompresses it, and writes it to standard output.&lt;br /&gt;
&lt;br /&gt;
readgzfile() can be used to read a file which is not in gzip format; in this case, it will directly read from the file without decompression.&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;filename:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
The file name. This file will be opened from the filesystem, and its contents written to standard output.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;use_include_path:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
You can set this optional parameter to 1 if you want to search for the file in the include_path too.&lt;br /&gt;
&lt;br /&gt;
==== Return Values ====&lt;br /&gt;
Returns the number of (uncompressed) bytes read from the file on success, or false on failure.&lt;br /&gt;
&lt;br /&gt;
==== Errors/Exceptions ====&lt;br /&gt;
Upon failure, an &amp;#039;&amp;#039;&amp;#039;E_WARNING&amp;#039;&amp;#039;&amp;#039; is emitted.&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[gzpassthru()]] - Output all remaining data on a gz-file pointer&lt;br /&gt;
* [[gzfile()]] - Read entire gz-file into an array&lt;br /&gt;
* [[gzopen()]] - Open gz-file&lt;br /&gt;
&lt;br /&gt;
= Sidslut =&lt;br /&gt;
&lt;br /&gt;
Orginalhemsidan på Engelska :https://www.php.net/manual/en/function.readgzfile.php&lt;br /&gt;
&amp;lt;BR&amp;gt;[[PHP]]&lt;br /&gt;
[[Funktioner]]&lt;br /&gt;
[[Funktionsreferens]]&lt;br /&gt;
[[Komprimerings- och arkivtillägg]]&lt;br /&gt;
[[Zlib — Zlib Komprimering]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
Det här är en maskinöversättning av PHP-manualen till svenska. Om du hittar fel är vi tacksamma om du rapporterar dem via formuläret som finns på &lt;br /&gt;
https://www.linux.se/kontaka-linux-se/&lt;br /&gt;
&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;Tack till [https://www.datorreparation.nu/ Datorreparation Stockholm] som har  sponsrat [https://www.linux.se Linux.se] med webbhotell.&lt;br /&gt;
&lt;br /&gt;
[[Kategori:Php]]&lt;br /&gt;
[[Kategori:Komprimerings- och Arkivtillägg]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>