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 | |||
| 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: |