Skip to content

Commit ee053c5

Browse files
committed
fixup! Store parameter default values in arginfo
1 parent 6be491c commit ee053c5

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

ext/reflection/php_reflection.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -567,25 +567,6 @@ static void _class_const_string(smart_str *str, char *name, zend_class_constant
567567
}
568568
/* }}} */
569569

570-
/* {{{ _get_recv_opcode */
571-
static zend_op* _get_recv_op(zend_op_array *op_array, uint32_t offset)
572-
{
573-
zend_op *op = op_array->opcodes;
574-
zend_op *end = op + op_array->last;
575-
576-
++offset;
577-
while (op < end) {
578-
if ((op->opcode == ZEND_RECV || op->opcode == ZEND_RECV_INIT
579-
|| op->opcode == ZEND_RECV_VARIADIC) && op->op1.num == offset)
580-
{
581-
return op;
582-
}
583-
++op;
584-
}
585-
return NULL;
586-
}
587-
/* }}} */
588-
589570
static int format_default_value(smart_str *str, zval *value, zend_class_entry *scope) {
590571
zval zv;
591572
ZVAL_COPY(&zv, value);

0 commit comments

Comments
 (0)