View Issue Details

IDProjectCategoryView StatusLast Update
0002360XdebugStep Debuggingpublic2025-08-12 16:34
Reporterderick Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.4dev 
Target Version3.4devFixed in Version3.4dev 
Summary0002360: Debugging DateInterval (and other internal objects) causes a crash
Description

When Xdebug tries to convert a DateInterval object to XML, it crashes.

Steps To Reproduce

Debug a file with this in it, and a breakpoint on line 4:

<?php
$KEEP_EOL = new DateInterval('P28D');

echo get_class($KEEP_EOL);

Inspect $KEEP_EOL.

TagsNo tags attached.
Operating System
PHP Version8.3.5-8.3.9

Activities

Issue History

Date Modified Username Field Change
2025-08-12 11:36 derick New Issue
2025-08-12 11:36 derick Status new => assigned
2025-08-12 11:36 derick Assigned To => derick
2025-08-12 16:23 derick Summary Debugging DateInterval causes a crash => Debugging DateInterval (and other internal objects) causes a crash
2025-08-12 16:23 derick Note Added: 0007344
2025-08-12 16:34 derick Status assigned => closed
2025-08-12 16:34 derick Resolution open => fixed
2025-08-12 16:34 derick Fixed in Version => 3.4dev