svn: /phpdoc/en/trunk/appendices/ reserved.constants.core.xml
| From: | Joey Smith | Date: | Sun, 17 Jul 2011 10:24:34 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ reserved.constants.core.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8504@lists.php.net to get a copy of this message | ||
joey Sun, 17 Jul 2011 10:24:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313321
Log:
Starting adding some more documentation on the meanings of some of the constants.
Changed paths:
U phpdoc/en/trunk/appendices/reserved.constants.core.xml
Modified: phpdoc/en/trunk/appendices/reserved.constants.core.xml
===================================================================
--- phpdoc/en/trunk/appendices/reserved.constants.core.xml 2011-07-17 09:50:54 UTC (rev 313320)
+++ phpdoc/en/trunk/appendices/reserved.constants.core.xml 2011-07-17 10:24:34 UTC (rev 313321)
@@ -14,7 +14,8 @@
</term>
<listitem>
<simpara>
-
+ The current PHP version as a string in
+ "major.minor.release[extra]" notation.
</simpara>
</listitem>
</varlistentry>
@@ -25,7 +26,8 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.2.7.
+ The current PHP "major" version as an integer (e.g., int(5)
+ from version "5.2.7-extra"). Available since PHP 5.2.7.
</simpara>
</listitem>
</varlistentry>
@@ -36,7 +38,8 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.2.7.
+ The current PHP "minor" version as an integer (e.g., int(2)
+ from version "5.2.7-extra"). Available since PHP 5.2.7.
</simpara>
</listitem>
</varlistentry>
@@ -47,7 +50,8 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.2.7.
+ The current PHP "release" version as an integer (e.g., int(7)
+ from version "5.2.7-extra"). Available since PHP 5.2.7.
</simpara>
</listitem>
</varlistentry>
@@ -58,6 +62,8 @@
</term>
<listitem>
<simpara>
+ The current PHP version as an integer, useful for
+ version comparisons (e.g., int(50207) from version "5.2.7-extra").
Available since PHP 5.2.7.
</simpara>
</listitem>
@@ -69,7 +75,10 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.2.7.
+ The current PHP "extra" version as a string (e.g., '-extra'
+ from version "5.2.7-extra"). Often used by distribution
+ vendors to indicate a pacakge version. Available since
+ PHP 5.2.7.
</simpara>
</listitem>
</varlistentry>
@@ -102,7 +111,8 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.3.0.
+ The maximum length of filenames (including path) supported
+ by this build of PHP. Available since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@@ -124,7 +134,8 @@
</term>
<listitem>
<simpara>
- Available since PHP 4.2.0. See also <function>php_sapi_name</function>.
+ The Server API for this build of PHP. Available since PHP 4.2.0.
+ See also <function>php_sapi_name</function>.
</simpara>
</listitem>
</varlistentry>
@@ -135,6 +146,7 @@
</term>
<listitem>
<simpara>
+ The correct 'End Of Line' symbol for this platform.
Available since PHP 4.3.10 and PHP 5.0.2
</simpara>
</listitem>
@@ -146,6 +158,7 @@
</term>
<listitem>
<simpara>
+ The largest integer supported in this build of PHP. Usually int(2147483647).
Available since PHP 4.4.0 and PHP 5.0.5
</simpara>
</listitem>
@@ -212,7 +225,7 @@
</term>
<listitem>
<simpara>
- Available since PHP 4.3.0
+ The value "--prefix" was set to at configure. Available since PHP 4.3.0.
</simpara>
</listitem>
</varlistentry>
@@ -223,7 +236,7 @@
</term>
<listitem>
<simpara>
-
+ Specifies where the binaries were installed into.
</simpara>
</listitem>
</varlistentry>
@@ -234,7 +247,7 @@
</term>
<listitem>
<simpara>
- Specifies where the manpages where installed into.
+ Specifies where the manpages were installed into.
Available since PHP 5.3.7.
</simpara>
</listitem>
@@ -312,7 +325,8 @@
</term>
<listitem>
<simpara>
- Available since PHP 4.3.0
+ The build-platform's shared library suffix, such as "so" (most Unixes)
+ or "dll" (Windows). Available since PHP 4.3.0
</simpara>
</listitem>
</varlistentry>
@@ -356,7 +370,7 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.3.0
+ "Major" version of Windows OS. Available (on Windows builds only) since PHP 5.3.0.
</simpara>
</listitem>
</varlistentry>
@@ -367,7 +381,7 @@
</term>
<listitem>
<simpara>
- Available since PHP 5.3.0
+ "Minor" version of Windows OS. Available (on Windows builds only) since PHP
5.3.0.
</simpara>
</listitem>
</varlistentry>
@@ -477,7 +491,7 @@
</term>
<listitem>
<simpara>
-
+ Error reporting constant. See &reference.errorfunc.constants;.
</simpara>
</listitem>
</varlistentry>