Skip to content

Commit 7a8131e

Browse files
committed
Revert "Fix GH-22142: Assertion failure in zendi_try_get_long() on IS_UNDEF."
This reverts commit 9e1b285.
1 parent ca2f9bc commit 7a8131e

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

‎Zend/zend_operators.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ static zend_never_inline zend_long ZEND_FASTCALL zendi_try_get_long(const zval *
448448
ZEND_ASSERT(Z_TYPE(dst) == IS_LONG);
449449
return Z_LVAL(dst);
450450
}
451-
case IS_UNDEF:
452451
case IS_RESOURCE:
453452
case IS_ARRAY:
454453
*failed = true;

‎ext/zlib/tests/gh22142.phpt‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)