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
SUCCESSand 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.