Doc #75435 [Opn->Ver]: PHP 7.2 upgrade guide missing lots of new constants

From: Date: Wed, 25 Oct 2017 16:37:35 +0000
Subject: Doc #75435 [Opn->Ver]: 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-15181@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: Open +Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: 7.2.0RC4 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#15181) next »