View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000174 | Xdebug | Uncategorized | public | 2006-04-19 17:00 | 2009-12-27 16:54 |
| Reporter | beandog | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | not fixable | ||
| Summary | 0000174: 'echo' command does not work in eval function | ||||
| Description | When doing an 'eval' through the DBGp protocol in XDebug, valid echo commands are not executed and return error messages. | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows XP Pro SP2 | ||||
| PHP Version | 5.0.5 | ||||
|
|
You're correct that this doesn't work; however, internally Xdebug uses Zend's zend_do_string() which always prepends "return " to the string-to-be-parsed to be able to return the value of evaluated statements to be passed back. Obviously the string: |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-04-19 17:00 | beandog | New Issue | |
| 2009-12-27 16:54 | derick | Note Added: 0001211 | |
| 2009-12-27 16:54 | derick | Status | new => resolved |
| 2009-12-27 16:54 | derick | Resolution | open => not fixable |
| 2009-12-27 16:54 | 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 |