Bug #79861 [NEW]: bug found in php 5.3, 5.4. 7.0, 7.1, 7.2
| From: | BardoQi at gmail dot com | Date: | Tue, 14 Jul 2020 19:35:25 +0000 |
| Subject: | Bug #79861 [NEW]: bug found in php 5.3, 5.4. 7.0, 7.1, 7.2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-228043@lists.php.net to get a copy of this message | ||
From: BardoQi at gmail dot com
Operating system: windwos 10, contos7
PHP version: 7.2.32
Package: Unknown/Other Function
Bug Type: Bug
Bug description:bug found in php 5.3, 5.4. 7.0, 7.1, 7.2
Description:
------------
The return value of expression /(4.1-0.1 == 4.0)/ should be true, but
infact false!!
Test script:
---------------
echo(4.1-0.1 == 4.0);
echo(4.1-0.1 == 4);
echo((4.1-0.1) == 4.0);
echo((4.1-0.1) == 4);
Expected result:
----------------
1111
--
Edit bug report at https://bugs.php.net/bug.php?id=79861&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79861&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79861&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79861&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79861&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79861&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79861&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79861&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79861&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79861&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79861&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79861&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79861&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79861&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79861&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79861&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79861&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79861&r=mysqlcfg