Skip to content

Commit 420469b

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: remove assert raising strange behavior with GCC 10
2 parents 70c29f8 + bdf2f72 commit 420469b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/reflection/php_reflection.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,6 @@ ZEND_METHOD(ReflectionFunctionAbstract, getClosureUsedVariables)
17541754

17551755
zend_op *opline = ops->opcodes + ops->num_args;
17561756
if (ops->fn_flags & ZEND_ACC_VARIADIC) {
1757-
ZEND_ASSERT(opline->opcode == ZEND_RECV_VARIADIC);
17581757
opline++;
17591758
}
17601759

0 commit comments

Comments
 (0)