mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
new structure and constants gathered from phpinfo and phpcredits
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@89368 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d419d41bc4
commit
7764af08c4
2 changed files with 201 additions and 2 deletions
162
reference/info/constants.xml
Normal file
162
reference/info/constants.xml
Normal file
|
@ -0,0 +1,162 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<section id="info.constants">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<table>
|
||||
<title>Pre-defined <function>phpcredits</function> constants</title>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Constant</entry>
|
||||
<entry>Description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>CREDITS_ALL</entry>
|
||||
<entry>
|
||||
All the credits, equivalent to using: CREDITS_DOCS +
|
||||
CREDITS_GENERAL + CREDITS_GROUP + CREDITS_MODULES +
|
||||
CREDITS_FULLPAGE. It generates a complete stand-alone HTML
|
||||
page with the appropriate tags.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>CREDITS_DOCS</entry>
|
||||
<entry>The credits for the documentation team</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>CREDITS_FULLPAGE</entry>
|
||||
<entry>
|
||||
Usually used in combination with the other flags. Indicates
|
||||
that the a complete stand-alone HTML page needs to be
|
||||
printed including the information indicated by the other
|
||||
flags.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>CREDITS_GENERAL</entry>
|
||||
<entry>
|
||||
General credits: Language design and concept, PHP 4.0
|
||||
authors and SAPI module.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>CREDITS_GROUP</entry>
|
||||
<entry>A list of the core developers</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>CREDITS_MODULES</entry>
|
||||
<entry>
|
||||
A list of the extension modules for PHP, and their authors
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>CREDITS_SAPI</entry>
|
||||
<entry>
|
||||
A list of the server API modules for PHP, and their authors
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<title><function>phpinfo</function> constants</title>
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Constant</entry>
|
||||
<entry>Value</entry>
|
||||
<entry>Description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>INFO_GENERAL</entry>
|
||||
<entry>1</entry>
|
||||
<entry>
|
||||
The configuration line, &php.ini; location, build date, Web
|
||||
Server, System and more.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_CREDITS</entry>
|
||||
<entry>2</entry>
|
||||
<entry>
|
||||
PHP 4 Credits. See also <function>phpcredits</function>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_CONFIGURATION</entry>
|
||||
<entry>4</entry>
|
||||
<entry>
|
||||
Current Local and Master values for php directives. See
|
||||
also <function>ini_get</function>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_MODULES</entry>
|
||||
<entry>8</entry>
|
||||
<entry>
|
||||
Loaded modules and their respective settings.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_ENVIRONMENT</entry>
|
||||
<entry>16</entry>
|
||||
<entry>
|
||||
Environment Variable information that's also available in
|
||||
<varname>$_ENV</varname>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_VARIABLES</entry>
|
||||
<entry>32</entry>
|
||||
<entry>
|
||||
Shows all <link linkend="language.variables.predefined">
|
||||
predefined variables</link> from EGPCS (Environment, GET,
|
||||
POST, Cookie, Server).
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_LICENSE</entry>
|
||||
<entry>64</entry>
|
||||
<entry>
|
||||
PHP License information. See also the <ulink
|
||||
url="&url.php.license;">license faq</ulink>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>INFO_ALL</entry>
|
||||
<entry>-1</entry>
|
||||
<entry>
|
||||
Shows all of the above. This is the default value.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<!-- 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:"../../../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
|
||||
-->
|
|
@ -1,12 +1,49 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<reference id="ref.info">
|
||||
<title>PHP Options&Information</title>
|
||||
<titleabbrev>PHP Options/Info</titleabbrev>
|
||||
|
||||
&reference.info.functions;
|
||||
<partintro>
|
||||
<section id="info.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
This functions enable you to get a lot of information about PHP itself,
|
||||
e.g. runtime configuration, loaded extensions, version and much more.
|
||||
You'll also find functions to set options for your running PHP.
|
||||
The probably best known function of PHP - <function>phpinfo</function> -
|
||||
can be found here.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id="info.requirenments">
|
||||
&reftitle.required;
|
||||
&no.requirement
|
||||
</section>
|
||||
|
||||
<section id="info.installation">
|
||||
&reftitle.install;
|
||||
&no.install;
|
||||
</section>
|
||||
|
||||
<section id="info.configuration">
|
||||
&reftitle.runtime;
|
||||
&no.config;
|
||||
</section>
|
||||
|
||||
<section id="info.resources">
|
||||
&reftitle.resources;
|
||||
&no.resource;
|
||||
</section>
|
||||
|
||||
&reference.info.constants;
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.info.functions;
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
|
Loading…
Reference in a new issue