mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Fix for bug #15387
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69563 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
1da28360ef
commit
0422dc10f7
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.22 $ -->
|
||||
<!-- $Revision: 1.23 $ -->
|
||||
<reference id="ref.zlib">
|
||||
<title>Zlib Compression Functions</title>
|
||||
<titleabbrev>Zlib</titleabbrev>
|
||||
|
@ -733,11 +733,11 @@ gzclose ($zd);
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$data = implode("", "bigfile.txt");
|
||||
$gzdata = gzencode($data, 9);
|
||||
$fp = fopen("bigfile.txt.gz", "w");
|
||||
fwrite($fp, $gzdata);
|
||||
fclose($fp);
|
||||
$data = implode("", file("bigfile.txt"));
|
||||
$gzdata = gzencode($data, 9);
|
||||
$fp = fopen("bigfile.txt.gz", "w");
|
||||
fwrite($fp, $gzdata);
|
||||
fclose($fp);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue