Lines Matching refs:op2

292 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) …  in zend_do_binary_op()
300 opline->op2 = *op2; in zend_do_binary_op()
314 SET_UNUSED(opline->op2); in zend_do_unary_op()
318 …op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->result.op_type=opline->op1.op_…
325 SET_UNUSED(data_op->op2); in zend_do_op_data()
329 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM… in zend_do_binary_assign_op()
342 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
350 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
351 opline->op2.u.var = get_temporary_variable(CG(active_op_array)); in zend_do_binary_assign_op()
352 opline->op2.u.EA.type = 0; in zend_do_binary_assign_op()
353 opline->op2.op_type = IS_VAR; in zend_do_binary_assign_op()
364 opline->op2 = *op2; in zend_do_binary_assign_op()
408 SET_UNUSED(opline_ptr->op2); in fetch_simple_variable_ex()
410 opline_ptr->op2.u.EA.type = ZEND_FETCH_LOCAL; in fetch_simple_variable_ex()
413 opline_ptr->op2.u.EA.type = ZEND_FETCH_GLOBAL; in fetch_simple_variable_ex()
452 SET_UNUSED(opline.op2); in zend_do_fetch_static_member()
453 opline.op2 = class_node; in zend_do_fetch_static_member()
454 opline.op2.u.EA.type = ZEND_FETCH_STATIC_MEMBER; in zend_do_fetch_static_member()
472 SET_UNUSED(opline.op2); in zend_do_fetch_static_member()
473 opline.op2 = class_node; in zend_do_fetch_static_member()
474 opline.op2.u.EA.type = ZEND_FETCH_STATIC_MEMBER; in zend_do_fetch_static_member()
479 opline_ptr->op2 = class_node; in zend_do_fetch_static_member()
480 opline_ptr->op2.u.EA.type = ZEND_FETCH_STATIC_MEMBER; in zend_do_fetch_static_member()
505 opline.op2 = *dim; in fetch_array_dim()
528 SET_UNUSED(opline->op2); in zend_do_print()
539 SET_UNUSED(opline->op2); in zend_do_echo()
563 SET_UNUSED(opline->op2); in zend_do_abstract_method()
614 SET_UNUSED(opline->op2); in zend_do_assign()
615 opline->op2.u.EA.type = ZEND_FETCH_LOCAL; in zend_do_assign()
668 opline->op2.u.var = get_temporary_variable(CG(active_op_array)); in zend_do_assign()
669 opline->op2.u.EA.type = 0; in zend_do_assign()
670 opline->op2.op_type = IS_VAR; in zend_do_assign()
686 opline->op2 = *value; in zend_do_assign()
740 opline->op2 = *rvar; in zend_do_assign_ref()
779 SET_UNUSED(opline->op2); in zend_do_while_cond()
794 SET_UNUSED(opline->op2); in zend_do_while_end()
797 …CG(active_op_array)->opcodes[close_bracket_token->u.opline_num].op2.u.opline_num = get_next_op_num… in zend_do_while_end()
813 SET_UNUSED(opline->op2); in zend_do_for_cond()
825 SET_UNUSED(opline->op2); in zend_do_for_before_statement()
839 …CG(active_op_array)->opcodes[second_semicolon_token->u.opline_num].op2.u.opline_num = get_next_op_… in zend_do_for_end()
841 SET_UNUSED(opline->op2); in zend_do_for_end()
870 SET_UNUSED(opline->op2); in zend_do_pre_incdec()
898 SET_UNUSED(opline->op2); in zend_do_post_incdec()
913 SET_UNUSED(opline->op2); in zend_do_if_cond()
935 …CG(active_op_array)->opcodes[closing_bracket_token->u.opline_num].op2.u.opline_num = if_end_op_num… in zend_do_if_after_statement()
937 SET_UNUSED(opline->op2); in zend_do_if_after_statement()
1028 if (opline->opcode == ZEND_FETCH_DIM_W && opline->op2.op_type == IS_UNUSED) { in zend_do_end_variable_parse()
1039 if (opline->opcode == ZEND_FETCH_DIM_W && opline->op2.op_type == IS_UNUSED) { in zend_do_end_variable_parse()
1049 if (opline->opcode == ZEND_FETCH_DIM_W && opline->op2.op_type == IS_UNUSED) { in zend_do_end_variable_parse()
1066 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string()
1070 if (Z_STRLEN(op2->u.constant) > 1) { in zend_do_add_string()
1073 } else if (Z_STRLEN(op2->u.constant) == 1) { in zend_do_add_string()
1074 int ch = *Z_STRVAL(op2->u.constant); in zend_do_add_string()
1077 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1078 ZVAL_LONG(&op2->u.constant, ch); in zend_do_add_string()
1082 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1094 opline->op2 = *op2; in zend_do_add_string()
1099 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable()
1113 opline->op2 = *op2; in zend_do_add_variable()
1125 SET_UNUSED(opline->op2); in zend_do_free()
1354 opline->op2.op_type = IS_CONST; in zend_do_begin_function_declaration()
1355 opline->op2.u.constant.type = IS_STRING; in zend_do_begin_function_declaration()
1356 opline->op2.u.constant.value.str.val = lcname; in zend_do_begin_function_declaration()
1357 opline->op2.u.constant.value.str.len = name_len; in zend_do_begin_function_declaration()
1358 Z_SET_REFCOUNT(opline->op2.u.constant, 1); in zend_do_begin_function_declaration()
1369 SET_UNUSED(opline->op2); in zend_do_begin_function_declaration()
1422 zval_dtor(&current_op->op2.u.constant); in zend_do_begin_lambda_function_declaration()
1423 …ZVAL_LONG(&current_op->op2.u.constant, zend_hash_func(Z_STRVAL(current_op->op1.u.constant), Z_STRL… in zend_do_begin_lambda_function_declaration()
1435 SET_UNUSED(opline->op2); in zend_do_handle_exception()
1506 opline->op2 = *initialization; in zend_do_receive_arg()
1509 SET_UNUSED(opline->op2); in zend_do_receive_arg()
1600 …if ((last_op->op2.op_type == IS_CONST) && (last_op->op2.u.constant.type == IS_STRING) && (last_op-… in zend_do_begin_method_call()
1601 …&& !zend_binary_strcasecmp(last_op->op2.u.constant.value.str.val, last_op->op2.u.constant.value.st… in zend_do_begin_method_call()
1612 opline->op2 = *left_bracket; in zend_do_begin_method_call()
1613 if (opline->op2.op_type == IS_CONST) { in zend_do_begin_method_call()
1616 …->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.… in zend_do_begin_method_call()
1617 Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(opline->op2.u.constant); in zend_do_begin_method_call()
1636 SET_UNUSED(opline->op2); in zend_do_clone()
1655 opline->op2 = *function_name; in zend_do_begin_dynamic_function_call()
1659 …->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.… in zend_do_begin_dynamic_function_call()
1660 Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(opline->op2.u.constant); in zend_do_begin_dynamic_function_call()
1676 SET_UNUSED(opline2->op2); in zend_do_begin_dynamic_function_call()
1679 opline->op2 = *function_name; in zend_do_begin_dynamic_function_call()
1680 if (opline->op2.op_type == IS_CONST) { in zend_do_begin_dynamic_function_call()
1683 …->op1.u.constant) = zend_str_tolower_dup(Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.… in zend_do_begin_dynamic_function_call()
1684 Z_STRLEN(opline->op1.u.constant) = Z_STRLEN(opline->op2.u.constant); in zend_do_begin_dynamic_function_call()
1851 SET_UNUSED(opline->op2); in zend_do_fetch_class()
1857 opline->op2 = *class_name; in zend_do_fetch_class()
1861 opline->op2 = *class_name; in zend_do_fetch_class()
1898 …zend_hash_find(CG(labels), Z_STRVAL(opline->op2.u.constant), Z_STRLEN(opline->op2.u.constant)+1, (… in zend_resolve_goto_label()
1904 zend_error(E_COMPILE_ERROR, "'goto' to undefined label '%s'", Z_STRVAL(opline->op2.u.constant)); in zend_resolve_goto_label()
1913 zval_dtor(&opline->op2.u.constant); in zend_resolve_goto_label()
1933 SET_UNUSED(opline->op2); in zend_resolve_goto_label()
1936 ZVAL_LONG(&opline->op2.u.constant, distance); in zend_resolve_goto_label()
1952 opline->op2 = *label; in zend_do_goto()
2031 opline->op2 = *method_name; in zend_do_begin_class_member_function_call()
2054 …ZVAL_LONG(&opline->op2.u.constant, zend_hash_func(Z_STRVAL(function_name->u.constant), Z_STRLEN(fu… in zend_do_end_function_call()
2064 SET_UNUSED(opline->op2); in zend_do_end_function_call()
2173 opline->op2.u.opline_num = offset; in zend_do_pass_param()
2174 SET_UNUSED(opline->op2); in zend_do_pass_param()
2190 SET_UNUSED(opline->op2); in generate_free_switch_expr()
2209 SET_UNUSED(opline->op2); in generate_free_foreach_copy()
2217 SET_UNUSED(opline->op2); in generate_free_foreach_copy()
2269 SET_UNUSED(opline->op2); in zend_do_return()
2304 SET_UNUSED(opline->op2); in zend_initialize_try_catch_element()
2362 opline->op2.op_type = IS_CV; in zend_do_begin_catch()
2363 …opline->op2.u.var = lookup_cv(CG(active_op_array), catch_var->u.constant.value.str.val, catch_var-… in zend_do_begin_catch()
2364 opline->op2.u.EA.type = 0; in zend_do_begin_catch()
2379 SET_UNUSED(opline->op2); in zend_do_end_catch()
2396 SET_UNUSED(opline->op2); in zend_do_throw()
2957 …if (zend_hash_add(function_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.val… in do_bind_function()
2961 …if (zend_hash_find(function_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.va… in do_bind_function()
2991 …if (zend_hash_add(class_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.… in do_bind_class()
3025 zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", opline->op2.u.constant.value.str.val); in do_bind_inherited_class()
3041 …if (zend_hash_add(class_table, opline->op2.u.constant.value.str.val, opline->op2.u.constant.value.… in do_bind_inherited_class()
3073 zval *parent_name = &fetch_class_opline->op2.u.constant; in zend_do_early_binding()
3096 zval_dtor(&fetch_class_opline->op2.u.constant); in zend_do_early_binding()
3113 zval_dtor(&opline->op2.u.constant); in zend_do_early_binding()
3127 …lass(Z_STRVAL(op_array->opcodes[opline_num-1].op2.u.constant), Z_STRLEN(op_array->opcodes[opline_n… in zend_do_delayed_early_binding()
3150 SET_UNUSED(opline->op2); in zend_do_boolean_or_begin()
3166 SET_UNUSED(opline->op2); in zend_do_boolean_or_end()
3168 …CG(active_op_array)->opcodes[op_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(acti… in zend_do_boolean_or_end()
3185 SET_UNUSED(opline->op2); in zend_do_boolean_and_begin()
3201 SET_UNUSED(opline->op2); in zend_do_boolean_and_end()
3203 …CG(active_op_array)->opcodes[op_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(acti… in zend_do_boolean_and_end()
3220 opline->op2.u.opline_num = do_token->u.opline_num; in zend_do_do_while_end()
3221 SET_UNUSED(opline->op2); in zend_do_do_while_end()
3237 opline->op2 = *expr; in zend_do_brk_cont()
3239 Z_TYPE(opline->op2.u.constant) = IS_LONG; in zend_do_brk_cont()
3240 Z_LVAL(opline->op2.u.constant) = 1; in zend_do_brk_cont()
3241 INIT_PZVAL(&opline->op2.u.constant); in zend_do_brk_cont()
3242 opline->op2.op_type = IS_CONST; in zend_do_brk_cont()
3274 SET_UNUSED(opline->op2); in zend_do_switch_end()
3293 SET_UNUSED(opline->op2); in zend_do_switch_end()
3321 opline->op2 = *case_expr; in zend_do_case_before_statement()
3331 SET_UNUSED(opline->op2); in zend_do_case_before_statement()
3349 SET_UNUSED(opline->op2); in zend_do_case_after_statement()
3357 …CG(active_op_array)->opcodes[case_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(ac… in zend_do_case_after_statement()
3373 SET_UNUSED(opline->op2); in zend_do_default_before_statement()
3467 opline->op2.op_type = IS_CONST; in zend_do_begin_class_declaration()
3468 opline->op2.u.constant.type = IS_STRING; in zend_do_begin_class_declaration()
3469 Z_SET_REFCOUNT(opline->op2.u.constant, 1); in zend_do_begin_class_declaration()
3478 opline->op2.u.constant.value.str.val = lcname; in zend_do_begin_class_declaration()
3479 opline->op2.u.constant.value.str.len = new_class_entry->name_length; in zend_do_begin_class_declaration()
3503 SET_UNUSED(opline->op2); in do_verify_abstract_class()
3571 opline->op2 = *interface_name; in zend_do_implements_interface()
3717 opline_ptr->op2 = *property; in zend_do_fetch_property()
3750 opline.op2 = *property; in zend_do_fetch_property()
3801 && opline_ptr->op2.op_type == IS_CONST in zend_do_declare_implicit_property()
3802 …&CG(active_class_entry)->properties_info, opline_ptr->op2.u.constant.value.str.val, opline_ptr->op… in zend_do_declare_implicit_property()
3805 property = opline_ptr->op2; in zend_do_declare_implicit_property()
3806 …perty.u.constant.value.str.val = estrndup(opline_ptr->op2.u.constant.value.str.val, opline_ptr->op… in zend_do_declare_implicit_property()
3842 SET_UNUSED(opline->op2); in zend_do_begin_new_object()
3855 …CG(active_op_array)->opcodes[new_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(act… in zend_do_end_new_object()
3955 opline->op2 = *constant_name; in zend_do_fetch_constant()
4002 opline->op2 = *constant_name; in zend_do_fetch_constant()
4022 opline->op2.u.opline_num = 1; in zend_do_shell_exec()
4024 SET_UNUSED(opline->op2); in zend_do_shell_exec()
4037 SET_UNUSED(opline->op2); in zend_do_shell_exec()
4038 ZVAL_LONG(&opline->op2.u.constant, zend_hash_func("shell_exec", sizeof("shell_exec"))); in zend_do_shell_exec()
4054 opline->op2 = *offset; in zend_do_init_array()
4056 SET_UNUSED(opline->op2); in zend_do_init_array()
4060 SET_UNUSED(opline->op2); in zend_do_init_array()
4074 opline->op2 = *offset; in zend_do_add_array_element()
4076 SET_UNUSED(opline->op2); in zend_do_add_array_element()
4198 opline->op2.op_type = IS_CONST; in zend_do_list_end()
4199 Z_TYPE(opline->op2.u.constant) = IS_LONG; in zend_do_list_end()
4200 Z_LVAL(opline->op2.u.constant) = *((int *) dimension->data); in zend_do_list_end()
4201 INIT_PZVAL(&opline->op2.u.constant); in zend_do_list_end()
4260 SET_UNUSED(opline->op2); in zend_do_fetch_static_variable()
4261 opline->op2.u.EA.type = ZEND_FETCH_STATIC; in zend_do_fetch_static_variable()
4322 SET_UNUSED(opline->op2); in zend_do_fetch_global_variable()
4323 opline->op2.u.EA.type = fetch_type; in zend_do_fetch_global_variable()
4344 SET_UNUSED(opline->op2); in zend_do_cast()
4360 SET_UNUSED(opline->op2); in zend_do_include_or_eval()
4361 Z_LVAL(opline->op2.u.constant) = type; in zend_do_include_or_eval()
4396 SET_UNUSED(opline->op2); in zend_do_unset()
4397 opline->op2.u.EA.type = ZEND_FETCH_LOCAL; in zend_do_unset()
4431 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
4432 last_op->op2.u.EA.type = ZEND_FETCH_LOCAL; in zend_do_isset_or_isempty()
4480 opline->op2 = *class_znode; in zend_do_instanceof()
4525 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
4548 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
4553 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
4598 if (fetch->opcode == ZEND_FETCH_DIM_W && fetch->op2.op_type == IS_UNUSED) { in zend_do_foreach_cont()
4645 SET_UNUSED(opline->op2); in zend_do_foreach_end()
4647 …CG(active_op_array)->opcodes[foreach_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG… in zend_do_foreach_end()
4648 …CG(active_op_array)->opcodes[as_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(acti… in zend_do_foreach_end()
4750 SET_UNUSED(opline->op2); in zend_do_exit()
4766 SET_UNUSED(opline->op2); in zend_do_begin_silence()
4777 SET_UNUSED(opline->op2); in zend_do_end_silence()
4790 SET_UNUSED(opline->op2); in zend_do_jmp_set()
4808 SET_UNUSED(opline->op2); in zend_do_jmp_set_else()
4812 …CG(active_op_array)->opcodes[jmp_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(act… in zend_do_jmp_set_else()
4827 SET_UNUSED(opline->op2); in zend_do_begin_qm_op()
4828 opline->op2.u.opline_num = jmpz_op_number; in zend_do_begin_qm_op()
4829 *qm_token = opline->op2; in zend_do_begin_qm_op()
4839 …CG(active_op_array)->opcodes[qm_token->u.opline_num].op2.u.opline_num = get_next_op_number(CG(acti… in zend_do_qm_true()
4845 SET_UNUSED(opline->op2); in zend_do_qm_true()
4853 SET_UNUSED(opline->op2); in zend_do_qm_true()
4864 SET_UNUSED(opline->op2); in zend_do_qm_false()
4886 SET_UNUSED(opline->op2); in zend_do_extended_info()
4902 SET_UNUSED(opline->op2); in zend_do_extended_fcall_begin()
4918 SET_UNUSED(opline->op2); in zend_do_extended_fcall_end()
4929 SET_UNUSED(opline->op2); in zend_do_ticks()
5311 opline->op2 = *value; in zend_do_declare_constant()