View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000806 | Xdebug | Uncategorized | public | 2012-03-27 15:14 | 2012-04-07 16:27 |
| Reporter | nnmatveev | Assigned To | derick | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Summary | 0000806: 'property_get' doesn't work if array key contains a whitespace | ||||
| Description | subj | ||||
| Steps To Reproduce | Consider the following code: It is impossible to get $x['a b'] content using 'property_get' command: <- property_get -i 14 -n $x['a'] -d 0 -c 0 -p 0 | ||||
| Additional Information | Xdebug version: 2.1.4 related issue from PhpStorm issue tracker - http://youtrack.jetbrains.com/issue/WI-9471 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Operating System | Windows 7 | ||||
| PHP Version | 5.3.5 | ||||
|
|
This is not a bug. In order to use spaces in values you need to quote the value. This was not documented in the DBGp protocol unfortunately, but it is now: |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-03-27 15:14 | nnmatveev | New Issue | |
| 2012-03-27 15:14 | nnmatveev | File Added: xdebug.log | |
| 2012-04-07 16:27 | derick | Note Added: 0002030 | |
| 2012-04-07 16:27 | derick | Status | new => resolved |
| 2012-04-07 16:27 | derick | Resolution | open => no change required |
| 2012-04-07 16:27 | derick | Assigned To | => derick |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |