<?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=gzfile%28%29</id>
	<title>gzfile() - Versionshistorik</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.linux.se/index.php?action=history&amp;feed=atom&amp;title=gzfile%28%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=gzfile()&amp;action=history"/>
	<updated>2026-04-28T22:45:28Z</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=gzfile()&amp;diff=6286&amp;oldid=prev</id>
		<title>Admin: Skapade sidan med &#039;== gzfile == &#039;&#039;&#039;(PHP 4, PHP 5, PHP 7, PHP 8)&#039;&#039;&#039;  &#039;&#039;&#039;gzfile — Read entire gz-file into an array&#039;&#039;&#039;  === Description === &lt;code&gt; gzfile(string $filename, int $use_include_path = 0): array|false &lt;/code&gt; This function is identical to readgzfile(), except that it returns the file in an array.  ==== Parameters ==== &#039;&#039;&#039;filename:&#039;&#039;&#039; The file name.  &#039;&#039;&#039;use_include_path:&#039;&#039;&#039; You can set this optional parameter to 1, if you want to search for the file in the include_path too....&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.linux.se/index.php?title=gzfile()&amp;diff=6286&amp;oldid=prev"/>
		<updated>2024-12-02T10:02:52Z</updated>

		<summary type="html">&lt;p&gt;Skapade sidan med &amp;#039;== gzfile == &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;gzfile — Read entire gz-file into an array&amp;#039;&amp;#039;&amp;#039;  === Description === &amp;lt;code&amp;gt; gzfile(string $filename, int $use_include_path = 0): array|false &amp;lt;/code&amp;gt; This function is identical to &lt;a href=&quot;/readgzfile()&quot; title=&quot;readgzfile()&quot;&gt;readgzfile()&lt;/a&gt;, except that it returns the file in an array.  ==== Parameters ==== &amp;#039;&amp;#039;&amp;#039;filename:&amp;#039;&amp;#039;&amp;#039; The file name.  &amp;#039;&amp;#039;&amp;#039;use_include_path:&amp;#039;&amp;#039;&amp;#039; You can set this optional parameter to 1, if you want to search for the file in the include_path too....&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny sida&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== gzfile ==&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;gzfile — Read entire gz-file into an array&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
gzfile(string $filename, int $use_include_path = 0): array|false&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
This function is identical to [[readgzfile()]], except that it returns the file in an array.&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.&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;
An array containing the file, one line per cell, empty lines included, and with newlines still attached, or false on failure.&lt;br /&gt;
&lt;br /&gt;
==== Examples ====&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Example #1 gzfile() example&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$lines = gzfile(&amp;#039;somefile.gz&amp;#039;);&lt;br /&gt;
foreach ($lines as $line) {&lt;br /&gt;
    echo $line;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== See Also ===&lt;br /&gt;
* [[readgzfile()]] - Output a gz-file&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.gzfile.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>