-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Voidify some Zend APIs #5805
Voidify some Zend APIs #5805
Conversation
@nikic can I merge this, and I imagine this needs an entry in UPGRADING.INTERNALS correct? |
This PR & commits caused a fatal error when compiling the sqlsrv and pdo_sqlsrv extensions under PHP 8. https://github.com/microsoft/msphpsql/blob/master/source/shared/core_sqlsrv.h#L2540-L2546
|
The add_assoc_zval call can't fail anymore so it's just a matter of dropping the check. |
Forget the 'please document it'. I see that you already did that. |
OK, so the new code for PHP 8 should be
|
That's correct :) |
These always return
SUCCESS
and therefore the result is meaningless.I didn't act on the
add_next_index_*()
functions as they returnzend_hash_next_index_insert(...)
but from my understanding this function should also always returnSUCCESS
.