From 7764af08c4a70d9caa540523a1ec6dd6e2dc9e9a Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Sun, 21 Jul 2002 16:18:26 +0000 Subject: [PATCH] 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 --- reference/info/constants.xml | 162 +++++++++++++++++++++++++++++++++++ reference/info/reference.xml | 41 ++++++++- 2 files changed, 201 insertions(+), 2 deletions(-) create mode 100644 reference/info/constants.xml diff --git a/reference/info/constants.xml b/reference/info/constants.xml new file mode 100644 index 0000000000..de2e9e79ba --- /dev/null +++ b/reference/info/constants.xml @@ -0,0 +1,162 @@ + + +
+ &reftitle.constants; + &extension.constants; + + Pre-defined <function>phpcredits</function> constants + + + + Constant + Description + + + + + CREDITS_ALL + + 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. + + + + CREDITS_DOCS + The credits for the documentation team + + + CREDITS_FULLPAGE + + 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. + + + + CREDITS_GENERAL + + General credits: Language design and concept, PHP 4.0 + authors and SAPI module. + + + + CREDITS_GROUP + A list of the core developers + + + CREDITS_MODULES + + A list of the extension modules for PHP, and their authors + + + + CREDITS_SAPI + + A list of the server API modules for PHP, and their authors + + + + +
+ + + <function>phpinfo</function> constants + + + + Constant + Value + Description + + + + + INFO_GENERAL + 1 + + The configuration line, &php.ini; location, build date, Web + Server, System and more. + + + + INFO_CREDITS + 2 + + PHP 4 Credits. See also phpcredits. + + + + INFO_CONFIGURATION + 4 + + Current Local and Master values for php directives. See + also ini_get. + + + + INFO_MODULES + 8 + + Loaded modules and their respective settings. + + + + INFO_ENVIRONMENT + 16 + + Environment Variable information that's also available in + $_ENV. + + + + INFO_VARIABLES + 32 + + Shows all + predefined variables from EGPCS (Environment, GET, + POST, Cookie, Server). + + + + INFO_LICENSE + 64 + + PHP License information. See also the license faq. + + + + INFO_ALL + -1 + + Shows all of the above. This is the default value. + + + + +
+
+ + diff --git a/reference/info/reference.xml b/reference/info/reference.xml index 9daa815abc..005e40d2c2 100644 --- a/reference/info/reference.xml +++ b/reference/info/reference.xml @@ -1,12 +1,49 @@ - + PHP Options&Information PHP Options/Info -&reference.info.functions; + +
+ &reftitle.intro; + + 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 - phpinfo - + can be found here. + +
+ +
+ &reftitle.required; + &no.requirement +
+ +
+ &reftitle.install; + &no.install; +
+ +
+ &reftitle.runtime; + &no.config; +
+ +
+ &reftitle.resources; + &no.resource; +
+ + &reference.info.constants; + +
+ + &reference.info.functions;
+