View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002343 | Xdebug | Step Debugging | public | 2025-04-27 12:28 | 2025-04-27 12:28 |
Reporter | vlw | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Xdebug v3.4.2 | OS | Debian GNU/Linux | OS Version | 12 |
Product Version | 3.4.2 | ||||
Summary | 0002343: Fatal error on virtual property hook step debugging | ||||
Description | Attempting to step debug any line within a PHP 8.4 virtual property block causes Xdebug to respond with a | ||||
Steps To Reproduce |
| ||||
Additional Information | Any line step debugged within a property hook/accessor block will cause this issue. It also seems to block further execution of the PHP script but that might be down to my setup so I'm not sure. Running my example script without Xdebug will echo the current date as expected.
| ||||
Tags | No tags attached. | ||||
Attached Files | example.php (227 bytes)
<?php $example = new class { public function __construct() {} public DateTimeImmutable $datetime { get { return new DateTimeImmutable(); } set (mixed $void) {} } }; echo $example->datetime->format("c"); | ||||
Operating System | Debain 12 Linux kernel 6.1.129-1 (2025-03-06) x86_64 | ||||
PHP Version | 8.4-dev | ||||