View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001140 | Xdebug | Uncategorized | public | 2015-04-10 21:22 | 2015-06-14 20:46 |
| Reporter | derick | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.3.2 | ||||
| Target Version | 2.3.3 | Fixed in Version | 2.3.3 | ||
| Summary | 0001140: Tracing with __debugInfo() crashes Xdebug due to a stack overflow | ||||
| Description | Xdebug uses debugInfo to obtain information, but as that sometimes triggers another call to debugInfo (because it uses a function with $this), we get a nice stack overflow. | ||||
| Steps To Reproduce | php -dxdebug.auto_trace=1 -dxdebug.collect_params=3 -r 'class Foo { function __debugInfo() { get_object_vars($this); return []; } }; $a = new Foo; var_dump($a );' | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.6-dev | ||||