We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code:
<?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
8.3.20
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #18304 which is fixed in 8.3.21
Sorry, something went wrong.
No branches or pull requests
Description
The following code:
https://3v4l.org/XP384#v8.3.20
Resulted in this output:
But I expected this output instead:
(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
The text was updated successfully, but these errors were encountered: