-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Refactor pcntl_sigprocmask()/pcntl_sigwaitinfo()/pcntl_sigtimedwait() #11860
New issue
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
Conversation
|
5122ac0
to
38f6734
Compare
bool(false) | ||
sigtimedwait with invalid arguments | ||
Error triggered | ||
int(-1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really this issue should have been caught way before...
8670d1a
to
5cda41e
Compare
I forgot about this PR... @bukka this is kinda bugfixing some of the return values but is also adding Value and Type errors, is this too late to include in 8.3 considering it has hit RC phase? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Yeah it is a bug fix but a BC breaking bug fix so I think it needs to go to master only. As I mentioned elsewhere I don't think we should introduce any changes to UPGRADING in RC stage. It's just too late and we want users to start migrating their applications and test PHP 8.3 on them. So we should not introduce any further BC break that might impact application migration. |
5cda41e
to
8887df9
Compare
e92b821
to
f310683
Compare
Also add some validations which throw ValueError/TypeErrors.
Besides, found a bug in which in certain cases it wouldn't return false on failure, I think this should be fixed but probably just for master/PHP 8.3?
Still need to write the UPGRADING bit