View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002151 | Xdebug | Uncategorized | public | 2022-12-21 22:18 | 2024-02-19 05:43 |
Reporter | dgoosens | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.2.0 | ||||
Summary | 0002151: Xdebug alters the output of floating point numbers in var_dump | ||||
Description | when Xdebug is enabled, var_dump() rounds floating point numbers to two digits | ||||
Steps To Reproduce | cat test.php
| ||||
Additional Information | tested on PHP8.1 and PHP8.2 | ||||
Tags | No tags attached. | ||||
Operating System | Pop!_OS 22.04 LTS | ||||
PHP Version | 8.1.10-8.1.19 | ||||
|
sorry for the formatting... |
|
This seems to be an actual bug in PHP, although this was introduced in 2015 :-) |
|
This should now be fixed with PHP 8.1.17 and 8.2.4 — let me know if it hasn't please. |
|
I think this is still a real issue, xdebug is not displaying the internal precision on floats, eg % php82 --version % php82 -r "var_dump(3.99+19.99);"
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-21 22:18 | dgoosens | New Issue | |
2022-12-21 22:29 | dgoosens | Note Added: 0006499 | |
2023-01-25 17:50 | derick | Steps to Reproduce Updated | |
2023-01-30 19:04 | derick | Note Added: 0006510 | |
2023-01-30 19:04 | derick | Assigned To | => derick |
2023-01-30 19:04 | derick | Status | new => confirmed |
2023-04-03 17:44 | derick | Status | confirmed => resolved |
2023-04-03 17:44 | derick | Resolution | open => no change required |
2023-04-03 17:44 | derick | Note Added: 0006545 | |
2024-02-19 05:43 | Paul McGarry | Note Added: 0006848 |