View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002088 | Xdebug | Uncategorized | public | 2022-04-28 13:41 | 2022-05-25 14:25 |
| Reporter | CheveuCodeur | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | have not tried |
| Status | resolved | Resolution | unable to reproduce | ||
| Platform | windows | OS | Windows 10 Famille | OS Version | x64 |
| Product Version | 3.1.3 | ||||
| Summary | 0002088: problem with date_diff | ||||
| Description | Xdebug does not take into account the time of a DateTime object when calculating with date_diff, it is able to find a correct answer without having to format the DateTime upstream whereas PHP needs to format it upstream. | ||||
| Steps To Reproduce | $dateRdv = new DateTime('2022-04-30'); //Functional version with Xdebug: //Version with PHP //Functional version with PHP | ||||
| Tags | php | ||||
| Operating System | |||||
| PHP Version | 7.3.30-7.3.39 | ||||
|
|
Sorry i change the second test : //Version with PHP |
|
|
Hi, Your script does not run, and warns and fatals with the following output:
Please attach a script that I can run without errors, and be very clear where the expected output is different from what you get. Hinting at it with cheers, |
|
|
Hi? Would you have the requested information please? |
|
|
I don't know how to reproduce this, and the requested information was not provided so I am closing this report. |