Skip to content

Commit bdf2f72

Browse files
committed
remove assert raising strange behavior with GCC 10
1 parent 84e7d4a commit bdf2f72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/reflection/php_reflection.c

-1
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,6 @@ ZEND_METHOD(ReflectionFunctionAbstract, getClosureUsedVariables)
17481748

17491749
zend_op *opline = ops->opcodes + ops->num_args;
17501750
if (ops->fn_flags & ZEND_ACC_VARIADIC) {
1751-
ZEND_ASSERT(opline->opcode == ZEND_RECV_VARIADIC);
17521751
opline++;
17531752
}
17541753

0 commit comments

Comments
 (0)