removed PHP4 related zlib note. (#739)

This commit is contained in:
Yoshinari Takaoka 2021-06-27 23:11:31 +09:00 committed by GitHub
parent e7853a8a24
commit 683c11a44a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,20 +18,7 @@
</para>
<note>
<para>
Version 4.0.4 introduced a fopen-wrapper for <filename>.gz</filename>-files, so that
you can use a special <filename>zlib:</filename> URL to access
compressed files transparently using the normal f*() file access
functions if you prefix the filename or path with
<filename>zlib:</filename> when calling <function>fopen</function>. This
feature requires a C runtime library that provides the
<literal>fopencookie()</literal> function. Up to now the GNU libc
seems to be the only library that provides this feature.
</para>
<para>
In PHP 4.3.0, <filename>zlib:</filename> has been changed to
<filename>compress.zlib://</filename> to prevent ambiguities with
filenames containing '<literal>:</literal>' characters. The
<literal>fopencookie()</literal> function is no longer required.
PHP comes with a fopen-wrapper for <filename>.gz</filename>-files.
More information is available in the section about
<xref linkend="wrappers.compression" />.
</para>