### Description The following code: ```php <?php $interval = new \DateInterval('PT0S'); $unit = 'h'; $interval->$unit += 0; var_dump($interval->h); ``` https://3v4l.org/XP384#v8.3.20 Resulted in this output: ``` Segmentation fault ``` But I expected this output instead: ``` 0 ``` (Result we get from PHP 8.3.19 and 8.4.6) It's possibly the root cause of #18337 ### PHP Version 8.3.20 ### Operating System _No response_
Activity
ndossche commentedon Apr 16, 2025
Duplicate of #18304 which is fixed in 8.3.21