mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
45 lines
1.7 KiB
XML
45 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<chapter xml:id="phar.creating" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Creating Phar Archives</title>
|
|
|
|
<section xml:id="phar.creating.intro" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<title>Creating Phar Archives: Introduction</title>
|
|
<para>
|
|
To be written fully in the near future. Before reading this, be sure to read
|
|
<link linkend="phar.using">How to use Phar Archives</link>.
|
|
</para>
|
|
<para>
|
|
A great place to start is by reading about <function>Phar::buildFromIterator</function>,
|
|
and the specifics of the <link linkend="phar.fileformat">file format</link> choices
|
|
available for archives. A healthy understanding of what a stub is and does is crucial
|
|
to phar archive creation, and so <function>Phar::setStub</function> and
|
|
<function>Phar::createDefaultStub</function> are good places to start as well.
|
|
If you are distributing a web-based application, it is crucial to know about
|
|
<function>Phar::webPhar</function> and related method
|
|
<function>Phar::mungServer</function>. Any application that accesses
|
|
its own files should also consider using <function>Phar::interceptFileFuncs</function>.
|
|
</para>
|
|
</section>
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|