View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002314 | Xdebug | Step Debugging | public | 2025-01-18 22:22 | 2025-03-09 16:08 |
| Reporter | Benedetti | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.4.1 | ||||
| Target Version | 3.4dev | Fixed in Version | 3.4.2 | ||
| Summary | 0002314: Class properties with hooks are always shown as null | ||||
| Description | I found that properties with hooks (php 8.4 addition) are always shown in the debugger variables view as null, but when accessed directly by a watch they are resolved correctly as they appear on the output. It caused me a great confusion until I tracked it down to a debugger bug and not a bug in my code. I am not sure if it is a bug in Xdebug or PHPStorm or both. What happens: | ||||
| Steps To Reproduce | | ||||
| Additional Information | PHP version 8.4.3 (https://hub.docker.com/layers/library/php/8.4.3-fpm-alpine3.21/images/sha256-cef6cb6186568e77f638fef22c81696ece0f2458fba32ab42c7a1bb3bb5afc6b) | ||||
| Tags | breakpoint, php8.4, PHPStorm | ||||
| Operating System | windows 10 with php running in docker under wsl2 | ||||
| PHP Version | 8.3.5-8.3.9 | ||||