Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  remove assert raising strange behavior with GCC 10
This commit is contained in:
Remi Collet 2023-03-15 09:06:05 +01:00
commit 420469bd25
No known key found for this signature in database
GPG key ID: DC9FF8D3EE5AF27F

View file

@ -1754,7 +1754,6 @@ ZEND_METHOD(ReflectionFunctionAbstract, getClosureUsedVariables)
zend_op *opline = ops->opcodes + ops->num_args;
if (ops->fn_flags & ZEND_ACC_VARIADIC) {
ZEND_ASSERT(opline->opcode == ZEND_RECV_VARIADIC);
opline++;
}