com php-langspec: Add missing core constants: spec/06-constants.md
| From: | Nikita Popov | Date: | Tue, 02 Jan 2018 19:38:51 +0000 |
| Subject: | com php-langspec: Add missing core constants: spec/06-constants.md | ||
| Groups: | php.standards.cvs | ||
| Request: | Send a blank email to standards--cvs+get-411@lists.php.net to get a copy of this message | ||
Commit: 63375439ff7e8a1be93d0ef7d3c3b4833d5e35a0
Author: Alexander Holman MBCS AMIAP <alexanderholman@users.noreply.github.com> Tue,
2 Jan 2018 15:59:24 +0000
Committer: Nikita Popov <nikita.ppv@gmail.com> Tue, 2 Jan 2018 20:38:51 +0100
Parents: 1dc4793ede53b12a2b193698d9ef44709bcf9b10
Branches: master
Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=63375439ff7e8a1be93d0ef7d3c3b4833d5e35a0
Log:
Add missing core constants
Closes #214.
Bugs:
https://bugs.php.net/214
Changed paths:
M spec/06-constants.md
Diff:
diff --git a/spec/06-constants.md b/spec/06-constants.md
index 76e2c1d..5670599 100644
--- a/spec/06-constants.md
+++ b/spec/06-constants.md
@@ -109,11 +109,16 @@ Constant Name | Description
PHP_INT_MAX | int; the maximum representable value for an integer.
PHP_INT_MIN | int; the minimum representable value for an integer.
PHP_INT_SIZE | int; the number of bytes used to represent an integer.
+PHP_FLOAT_DIG | int; the number of decimal digits that can be rounded
into a float and back without precision loss.
+PHP_FLOAT_EPSILON | float; the smallest representable positive number
x, so that x + 1.0 != 1.0.
+PHP_FLOAT_MIN | float; the smallest representable normalized floating
point number larger than zero.
+PHP_FLOAT_MAX | float; the largest representable floating point number.
PHP_MAJOR_VERSION | int; the current PHP major version
PHP_MANDIR | string; the installation location of the manual pages.
PHP_MAXPATHLEN | int; the maximum length of a fully qualified filename
supported by this build.
PHP_MINOR_VERSION | int; the current PHP minor version.
PHP_OS | string; the current operating system.
+PHP_OS_FAMILY | string; the operating system family PHP was built for.
Either of 'Windows', 'BSD', 'Darwin', 'Solaris',
'Linux' or 'Unknown'.
PHP_PREFIX | string; the value to which "--prefix" was set
when configured.
PHP_RELEASE_VERSION | int; the current PHP release version.
PHP_ROUND_HALF_DOWN | int; Round halves down.