Uh oh!
There was an error while loading. Please reload this page.
Fix GH-22142: Assertion failure in zendi_try_get_long() on IS_UNDEF. - #22143
Fix GH-22142: Assertion failure in zendi_try_get_long() on IS_UNDEF.#22143devnexen wants to merge 2 commits into
Conversation
I believe this patch is wrong. The reason
If we just look at the exception message in the test, it says |
Girgias
commented
Aug 22, 2026
Yeah I'm not sure what I was thinking here... |
devnexen
commented
Aug 22, 2026
will revert ... it s master only by the way, 8.5 still uses zval_get_long here, the unreachable branch only became reachable with #21860. also zlib_create_dictionary_string has the same issue and a Zend side patch cannot reach it. and A/H with an object only exists in zlib and SplArray, so nothing else can hand an IS_UNDEF there. only thing, I would skip the option rather than throw. get_object_vars omits uninitialised typed props and we deprecate the object form in favour of it, so both ought to behave the same ... |
ndossche
commented
Aug 22, 2026
okay, sounds good |
No description provided.