1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Remove obsolete Phar information

Phar 2.0.0 has been released 2009-07-29, so older versions are certainly
no longer relevant for the PHP manual.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352054 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker
2020-12-13 16:38:57 +00:00
parent 43130349a3
commit e9f972da69
4 changed files with 4 additions and 54 deletions

View File

@@ -1829,12 +1829,6 @@
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 5.4.0.</entry>
</row>
<row>
<entry><link linkend="ini.phar.extract-list">phar.extract_list</link></entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since phar 1.1.0.</entry>
</row>
<row>
<entry><link linkend="ini.phar.readonly">phar.readonly</link></entry>
<entry>"1"</entry>

View File

@@ -28,17 +28,11 @@
<entry>PHP_INI_ALL</entry>
<entry></entry>
</row>
<row>
<entry><link linkend="ini.phar.extract-list">phar.extract_list</link></entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available from phar 1.1.0 to 1.2.3, removed in 2.0.0.</entry>
</row>
<row>
<entry><link linkend="ini.phar.cache-list">phar.cache_list</link></entry>
<entry>""</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available from phar 2.0.0.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
@@ -104,48 +98,12 @@
</listitem>
</varlistentry>
<varlistentry xml:id="ini.phar.extract-list">
<term>
<parameter>phar.extract_list</parameter>
<type>string</type>
</term>
<listitem>
<para>
This INI setting has been removed as of phar 2.0.0
</para>
<para>
Allows mappings from a full path to a phar archive or its alias to
the location of its extracted files.
The format of the parameter is <literal>name=archive,name2=archive2</literal>.
This allows extraction of phar files to disk, and allows phar to act as a
kind of mapper to extracted disk files. This is often done for performance
reasons, or to assist with debugging a phar.
<example>
<title>phar.extract_list usage example</title>
<programlisting role="php">
<![CDATA[
in php.ini:
phar.extract_list = archive=/full/path/to/archive/,arch2=/full/path/to/arch2
<?php
include "phar://archive/content.php";
include "phar://arch2/foo.php";
?>
]]>
</programlisting>
</example>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.phar.cache-list">
<term>
<parameter>phar.cache_list</parameter>
<type>string</type>
</term>
<listitem>
<para>
This INI setting was added in phar 2.0.0
</para>
<para>
Allows mapping phar archives to be pre-parsed at web server startup,
providing a performance improvement that brings running files out of a

View File

@@ -120,7 +120,7 @@ try {
<para>
In addition, verification of phar file contents can be done using any of the
supported symmetric hash algorithms (MD5, SHA1, SHA256 and SHA512 if ext/hash is enabled)
and using asymmetric public/private key signing using OpenSSL (new in Phar 2.0.0). To
and using asymmetric public/private key signing using OpenSSL. To
take advantage of OpenSSL signing, you need to generate a public/private key pair, and
use the private key to set the signature using
<function>Phar::setSignatureAlgorithm</function>. In addition, the public key
@@ -140,7 +140,7 @@ openssl_pkey_export($public, $pkey);
the OpenSSL signature.
</para>
<para>
As of version 2.0.0, The <classname>Phar</classname> class also provides 3 static methods, <function>Phar::webPhar</function>,
The <classname>Phar</classname> class also provides 3 static methods, <function>Phar::webPhar</function>,
<function>Phar::mungServer</function> and <function>Phar::interceptFileFuncs</function> that are crucial
to packaging up PHP applications designed for usage on regular filesystems and for web-based applications.
<function>Phar::webPhar</function> implements a front controller that routes HTTP calls to the correct
@@ -208,7 +208,7 @@ $a->stopBuffering();
The Phar stream wrapper fully supports <function>fopen</function> for
read and write (not append), <function>unlink</function>, <function>stat</function>,
<function>fstat</function>, <function>fseek</function>, <function>rename</function>
and directory stream operations <function>opendir</function> and as of version 2.0.0, <function>rmdir</function>
and directory stream operations <function>opendir</function> and <function>rmdir</function>
and <function>mkdir</function>.
</para>
<para>

View File

@@ -16,7 +16,6 @@
<function name='phar::cancompress' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 1.0.0'/>
<function name='phar::canwrite' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 1.0.0'/>
<function name='phar::compress' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 2.0.0'/>
<function name='phar::compressallfiles' from='PECL phar &lt; 2.0.0'/>
<function name='phar::compressfiles' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 2.0.0'/>
<function name='phar::converttodata' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 2.0.0'/>
<function name='phar::converttotar' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 2.0.0'/>
@@ -31,7 +30,6 @@
<function name='phar::delete' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 2.0.0'/>
<function name='phar::delmetadata' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 1.2.0'/>
<function name='phar::extractto' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 2.0.0'/>
<function name='phar::getextractlist' from='PECL phar &lt; 2.0.0'/>
<function name='phar::getalias' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 1.2.1'/>
<function name='phar::getmetadata' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 1.0.0'/>
<function name='phar::getmodified' from='PHP 5 &gt;= 5.3.0, PHP 7, PECL phar &gt;= 1.0.0'/>