View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002356 | Xdebug | Step Debugging | public | 2025-06-22 15:57 | 2025-07-14 14:57 |
| Reporter | ACEx86 | Assigned To | derick | ||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | ||||
| Product Version | 3.4.4 | ||||
| Target Version | 3.4dev | Fixed in Version | 3.4.5 | ||
| Summary | 0002356: Reading properties with get hooks may modify property value | ||||
| Description | After breakpoints when using Step Into and Step Over the xdebug will completly choose a wrong / false execution flow because for example the values will be wrong when specific conditions are met on Hooked variables. | ||||
| Steps To Reproduce | Example code that can have wrong values and so follow incorecct execution flow. | ||||
| Additional Information | On this example the output result should be Hell World:0 but with xdebug we gonna get output Hell World:2 and a value displayed Hell World:6 (completly out of order). PHP 8.4.8 (cli) (built: Jun 4 2025 15:27:29) (NTS) xdebug-3.4.4-1 | ||||
| Tags | php8.4 | ||||
| Operating System | Linux | ||||
| PHP Version | 8.4-dev | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-06-22 15:57 | ACEx86 | New Issue | |
| 2025-06-22 15:57 | ACEx86 | Tag Attached: php8.4 | |
| 2025-06-24 09:05 | derick | Steps to Reproduce Updated | |
| 2025-06-24 11:20 | derick | Status | new => assigned |
| 2025-06-24 11:20 | derick | Target Version | => 3.4dev |
| 2025-06-24 11:20 | derick | Summary | The step debugging reproduce wrong output values => Reading properties with get hooks may modify property value |
| 2025-06-24 11:21 | derick | Note Added: 0007323 | |
| 2025-06-24 11:33 | derick | Assigned To | => derick |
| 2025-06-24 11:33 | derick | Status | assigned => closed |
| 2025-06-24 11:33 | derick | Resolution | open => fixed |
| 2025-06-24 11:33 | derick | Fixed in Version | => 3.4dev |
| 2025-07-14 14:57 | derick | Fixed in Version | 3.4dev => 3.4.5 |