View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001551 | Xdebug | Uncategorized | public | 2018-05-16 11:05 | 2019-02-15 15:10 |
Reporter | aperez | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.6.0 | ||||
Target Version | 2.7.0 | Fixed in Version | 2.7.0RC2 | ||
Summary | 0001551: Property with value null is not represented well | ||||
Description | An object with property named null will be possible to see the data there but with bad values, the image attached you can see the null property name is converted to 5381 whilst the value is not be possible to be get. According to use var_dump, json_encode/json_decode, serialize/unserialize the value is $ or null if you use a foreach. So the behaviour is correct. But i don't know if it is that we want. Could you check the property will be able to see? | ||||
Steps To Reproduce | Code to reproduce the issue $object = (object) [ | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | Windows 10 | ||||
PHP Version | 7.2.0-7.2.4 | ||||
|
Please take in account the steps code to reproduce the issue are bad, they should be simple quotes. Sorry i cannot edit the report. A note is possible to be modified so i am going to write here the correct: $object = (object) [ Thanks! |
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-16 11:05 | aperez | New Issue | |
2018-05-16 11:05 | aperez | File Added: property-null-bad-behaviour.png | |
2018-05-16 11:09 | aperez | Note Added: 0004653 | |
2018-05-16 11:09 | aperez | Note Edited: 0004653 | |
2018-05-17 14:36 | aperez | Note Edited: 0004653 | |
2019-02-05 21:51 | derick | Note Added: 0004876 | |
2019-02-05 21:51 | derick | Assigned To | => derick |
2019-02-05 21:51 | derick | Status | new => assigned |
2019-02-05 21:51 | derick | Target Version | => 2.7.0 |
2019-02-05 22:36 | derick | Status | assigned => closed |
2019-02-05 22:36 | derick | Resolution | open => fixed |
2019-02-05 22:36 | derick | Fixed in Version | => 2.7.0 |
2019-02-15 15:10 | derick | Fixed in Version | 2.7.0 => 2.7.0RC2 |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |