📄 info.constants.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Predefined Constants</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="info.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.info.html">PHP Options/Info Functions</a></div> <div class="up"><a href="book.info.html">PHP Options/Info</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Predefined Constants</h1> <p class="simpara">The constants below are always available as part of the PHP core.</p> <table border="5"> <caption><b>Pre-defined <a href="function.phpcredits.html" class="function">phpcredits()</a> constants</b></caption> <colgroup> <thead valign="middle"> <tr valign="middle"> <th colspan="1">Constant</th> <th colspan="1">Value</th> <th colspan="1">Description</th> </tr> </thead> <tbody valign="middle" class="tbody"> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_GROUP</td> <td colspan="1" rowspan="1" align="left">1</td> <td colspan="1" rowspan="1" align="left">A list of the core developers</td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_GENERAL</td> <td colspan="1" rowspan="1" align="left">2</td> <td colspan="1" rowspan="1" align="left"> General credits: Language design and concept, PHP authors and SAPI module. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_SAPI</td> <td colspan="1" rowspan="1" align="left">4</td> <td colspan="1" rowspan="1" align="left"> A list of the server API modules for PHP, and their authors. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_MODULES</td> <td colspan="1" rowspan="1" align="left">8</td> <td colspan="1" rowspan="1" align="left"> A list of the extension modules for PHP, and their authors. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_DOCS</td> <td colspan="1" rowspan="1" align="left">16</td> <td colspan="1" rowspan="1" align="left"> The credits for the documentation team. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_FULLPAGE</td> <td colspan="1" rowspan="1" align="left">32</td> <td colspan="1" rowspan="1" align="left"> Usually used in combination with the other flags. Indicates that a complete stand-alone HTML page needs to be printed including the information indicated by the other flags. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_QA</td> <td colspan="1" rowspan="1" align="left">64</td> <td colspan="1" rowspan="1" align="left"> The credits for the quality assurance team. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">CREDITS_ALL</td> <td colspan="1" rowspan="1" align="left">-1</td> <td colspan="1" rowspan="1" align="left"> All the credits, equivalent to using: CREDITS_DOCS + CREDITS_GENERAL + CREDITS_GROUP + CREDITS_MODULES + CREDITS_QA CREDITS_FULLPAGE. It generates a complete stand-alone HTML page with the appropriate tags. This is the default value. </td> </tr> </tbody> </colgroup> </table> <table border="5"> <caption><b><a href="function.phpinfo.html" class="function">phpinfo()</a> constants</b></caption> <colgroup> <thead valign="middle"> <tr valign="middle"> <th colspan="1">Constant</th> <th colspan="1">Value</th> <th colspan="1">Description</th> </tr> </thead> <tbody valign="middle" class="tbody"> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_GENERAL</td> <td colspan="1" rowspan="1" align="left">1</td> <td colspan="1" rowspan="1" align="left"> The configuration line, <var class="filename">php.ini</var> location, build date, Web Server, System and more. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_CREDITS</td> <td colspan="1" rowspan="1" align="left">2</td> <td colspan="1" rowspan="1" align="left"> PHP Credits. See also <a href="function.phpcredits.html" class="function">phpcredits()</a>. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_CONFIGURATION</td> <td colspan="1" rowspan="1" align="left">4</td> <td colspan="1" rowspan="1" align="left"> Current Local and Master values for PHP directives. See also <a href="function.ini-get.html" class="function">ini_get()</a>. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_MODULES</td> <td colspan="1" rowspan="1" align="left">8</td> <td colspan="1" rowspan="1" align="left"> Loaded modules and their respective settings. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_ENVIRONMENT</td> <td colspan="1" rowspan="1" align="left">16</td> <td colspan="1" rowspan="1" align="left"> Environment Variable information that's also available in <var class="varname"><a href="reserved.variables.environment.html" class="classname">$_ENV</a></var>. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_VARIABLES</td> <td colspan="1" rowspan="1" align="left">32</td> <td colspan="1" rowspan="1" align="left"> Shows all <a href="language.variables.predefined.html" class="link"> predefined variables</a> from EGPCS (Environment, GET, POST, Cookie, Server). </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_LICENSE</td> <td colspan="1" rowspan="1" align="left">64</td> <td colspan="1" rowspan="1" align="left"> PHP License information. See also the <a href="http://www.php.net/license/" class="link external">» license faq</a>. </td> </tr> <tr valign="middle"> <td colspan="1" rowspan="1" align="left">INFO_ALL</td> <td colspan="1" rowspan="1" align="left">-1</td> <td colspan="1" rowspan="1" align="left"> Shows all of the above. This is the default value. </td> </tr> </tbody> </colgroup> </table> <dl> <dt> <span class="term"> <b><tt>ASSERT_ACTIVE</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt> <span class="term"> <b><tt>ASSERT_CALLBACK</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt> <span class="term"> <b><tt>ASSERT_BAIL</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt> <span class="term"> <b><tt>ASSERT_WARNING</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> </span> </dd> </dt> <dt> <span class="term"> <b><tt>ASSERT_QUIET_EVAL</tt></b> (<a href="language.types.integer.html" class="type integer">integer</a>) </span> <dd> <span class="simpara"> </span> </dd> </dt> </dl></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="info.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.info.html">PHP Options/Info Functions</a></div> <div class="up"><a href="book.info.html">PHP Options/Info</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -