Doc #75435 [NEW]: PHP 7.2 upgrade guide missing lots of new constants
| From: | bugs dot php dot net_nospam at adviesenzo dot nl | Date: | Wed, 25 Oct 2017 03:11:19 +0000 |
| Subject: | Doc #75435 [NEW]: PHP 7.2 upgrade guide missing lots of new constants | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-15173@lists.php.net to get a copy of this message | ||
From: bugs dot php dot net_nospam at adviesenzo dot nl
Operating system:
PHP version: 7.2.0RC4
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:PHP 7.2 upgrade guide missing lots of new constants
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 bug report at https://bugs.php.net/bug.php?id=75435&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75435&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75435&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75435&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75435&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75435&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75435&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75435&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75435&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75435&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75435&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75435&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75435&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75435&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75435&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75435&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75435&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75435&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75435&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75435&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75435&r=mysqlcfg