Doc #79302 [NEW]: Support for underscores in numbers not documented in "floating point numbers"

From: Date: Mon, 24 Feb 2020 16:18:59 +0000
Subject: Doc #79302 [NEW]: Support for underscores in numbers not documented in "floating point numbers"
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17329@lists.php.net to get a copy of this message
From: tandre Operating system: PHP version: 7.4.3 Package: Documentation problem Bug Type: Documentation Problem Bug description:Support for underscores in numbers not documented in "floating point numbers" Description: ------------ https://www.php.net/manual/en/language.types.float.php does not document that underscores (numeric literal separator) are allowed since php 7.4. php > echo 1_2.3_4; 12.34 https://wiki.php.net/rfc/numeric_literal_separator > The only restriction is that each underscore in a numeric literal must be directly between two digits. Expected result: ---------------- The CFG in https://www.php.net/manual/en/language.types.float.php should be updated to document the syntax in php 7.4, and note that the change was made in php 7.4 -- Edit bug report at https://bugs.php.net/bug.php?id=79302&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79302&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79302&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79302&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79302&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79302&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79302&r=support Expected behavior: https://bugs.php.net/fix.php?id=79302&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79302&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79302&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79302&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79302&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79302&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79302&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79302&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79302&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79302&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79302&r=mysqlcfg

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