Doc #75435 [Ver->Csd]: PHP 7.2 upgrade guide missing lots of new constants
| From: | cmb@php.net | Date: | Wed, 25 Oct 2017 17:07:47 +0000 |
| Subject: | Doc #75435 [Ver->Csd]: PHP 7.2 upgrade guide missing lots of new constants | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-15182@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75435&edit=1
ID: 75435
Updated by: cmb@php.net
Reported by: bugs dot php dot net_nospam at adviesenzo dot nl
Summary: PHP 7.2 upgrade guide missing lots of new constants
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 7.2.0RC4
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2017-10-25 17:07:06] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=343299
Log: Fix bug #75435: PHP 7.2 upgrade guide missing lots of new constants
------------------------------------------------------------------------
[2017-10-25 03:11:16] bugs dot php dot net_nospam at adviesenzo dot nl
Description:
------------
---
From manual page: http://www.php.net/migration72.constants
---
As of this moment, the PHP 7.2 upgrade guide regarding new constants, only lists the new Password
Hashing, PDO and LDAP constants.
As far as I can see (based on the 7.2 changelog + RFCs) the following constants need to be added:
- Core:
. PHP_FLOAT_DIG number of decimal digits, that can be rounded into a float and back without
precision loss
. PHP_FLOAT_EPSILON smallest representable positive number x, so then x + 1.0 != 1.0
. PHP_FLOAT_MIN min representable float number
. PHP_FLOAT_MAX max representable float number
. PHP_OS_FAMILY current operating system family
- Fileinfo:
. FILEINFO_EXTENSION include list of possible file extensions
- GD:
. IMG_EFFECT_MULTIPLY
. IMG_BMP
- PCRE
. PREG_UNMATCHED_AS_NULL
- ZipArchive
. ZipArchive::EM_NONE
. ZipArchive::EM_AES_128
. ZipArchive::EM_AES_192
. ZipArchive::EM_AES_256
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75435&edit=1