Lines Matching refs:op2
584 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) … in zend_do_binary_op()
592 SET_NODE(opline->op2, op2); in zend_do_binary_op()
606 SET_UNUSED(opline->op2); in zend_do_unary_op()
610 …)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline…
616 SET_UNUSED(data_op->op2); in zend_do_op_data()
620 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM… in zend_do_binary_assign_op()
633 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
641 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
642 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_do_binary_assign_op()
654 SET_NODE(opline->op2, op2); in zend_do_binary_assign_op()
700 SET_UNUSED(opline_ptr->op2); in fetch_simple_variable_ex()
752 opline.op2.constant = in zend_do_fetch_static_member()
755 SET_NODE(opline.op2, &class_node); in zend_do_fetch_static_member()
777 opline.op2.constant = in zend_do_fetch_static_member()
780 SET_NODE(opline.op2, &class_node); in zend_do_fetch_static_member()
792 opline_ptr->op2.constant = in zend_do_fetch_static_member()
795 SET_NODE(opline_ptr->op2, &class_node); in zend_do_fetch_static_member()
822 SET_UNUSED(opline.op2); in fetch_array_dim()
833 SET_NODE(opline.op2, dim); in fetch_array_dim()
834 if (opline.op2_type == IS_CONST && Z_TYPE(CONSTANT(opline.op2.constant)) == IS_STRING) { in fetch_array_dim()
838 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline.op2.constant)), Z_STRLEN(CONSTANT(opline.op2.const… in fetch_array_dim()
840 zval_dtor(&CONSTANT(opline.op2.constant)); in fetch_array_dim()
841 ZVAL_LONG(&CONSTANT(opline.op2.constant), index); in fetch_array_dim()
843 CALCULATE_LITERAL_HASH(opline.op2.constant); in fetch_array_dim()
867 SET_UNUSED(opline->op2); in zend_do_print()
878 SET_UNUSED(opline->op2); in zend_do_echo()
902 SET_UNUSED(opline->op2); in zend_do_abstract_method()
955 SET_UNUSED(opline->op2); in zend_do_assign()
1009 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_do_assign()
1026 SET_NODE(opline->op2, value); in zend_do_assign()
1069 SET_NODE(opline->op2, rvar); in zend_do_assign_ref()
1108 SET_UNUSED(opline->op2); in zend_do_while_cond()
1123 SET_UNUSED(opline->op2); in zend_do_while_end()
1126 …CG(active_op_array)->opcodes[close_bracket_token->u.op.opline_num].op2.opline_num = get_next_op_nu… in zend_do_while_end()
1142 SET_UNUSED(opline->op2); in zend_do_for_cond()
1154 SET_UNUSED(opline->op2); in zend_do_for_before_statement()
1168 …CG(active_op_array)->opcodes[second_semicolon_token->u.op.opline_num].op2.opline_num = get_next_op… in zend_do_for_end()
1170 SET_UNUSED(opline->op2); in zend_do_for_end()
1198 SET_UNUSED(opline->op2); in zend_do_pre_incdec()
1225 SET_UNUSED(opline->op2); in zend_do_post_incdec()
1240 SET_UNUSED(opline->op2); in zend_do_if_cond()
1262 …CG(active_op_array)->opcodes[closing_bracket_token->u.op.opline_num].op2.opline_num = if_end_op_nu… in zend_do_if_after_statement()
1264 SET_UNUSED(opline->op2); in zend_do_if_after_statement()
1402 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string()
1406 if (Z_STRLEN(op2->u.constant) > 1) { in zend_do_add_string()
1409 } else if (Z_STRLEN(op2->u.constant) == 1) { in zend_do_add_string()
1410 int ch = *Z_STRVAL(op2->u.constant); in zend_do_add_string()
1413 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1414 ZVAL_LONG(&op2->u.constant, ch); in zend_do_add_string()
1418 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1430 SET_NODE(opline->op2, op2); in zend_do_add_string()
1435 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable()
1449 SET_NODE(opline->op2, op2); in zend_do_add_variable()
1461 SET_UNUSED(opline->op2); in zend_do_free()
1480 SET_UNUSED(opline->op2); in zend_do_free()
1747 LITERAL_STRINGL(opline->op2, lcname, name_len, 1); in zend_do_begin_function_declaration()
1748 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_begin_function_declaration()
1762 SET_UNUSED(opline->op2); in zend_do_begin_function_declaration()
1811 zend_del_literal(current_op_array, current_op->op2.constant); in zend_do_begin_lambda_function_declaration()
1812 SET_UNUSED(current_op->op2); in zend_do_begin_lambda_function_declaration()
1827 SET_UNUSED(opline->op2); in zend_do_handle_exception()
1909 SET_NODE(opline->op2, initialization); in zend_do_receive_param()
1911 SET_UNUSED(opline->op2); in zend_do_receive_param()
2028 …pe == IS_CONST) && (Z_TYPE(CONSTANT(last_op->op2.constant)) == IS_STRING) && (Z_STRLEN(CONSTANT(la… in zend_do_begin_method_call()
2029 …& !zend_binary_strcasecmp(Z_STRVAL(CONSTANT(last_op->op2.constant)), Z_STRLEN(CONSTANT(last_op->op… in zend_do_begin_method_call()
2036 name = CONSTANT(last_op->op2.constant); in zend_do_begin_method_call()
2041 FREE_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2042 last_op->op2.constant = in zend_do_begin_method_call()
2044 GET_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2057 …opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &left_bracket->u.constant T… in zend_do_begin_method_call()
2058 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_method_call()
2060 SET_NODE(opline->op2, left_bracket); in zend_do_begin_method_call()
2078 SET_UNUSED(opline->op2); in zend_do_clone()
2097 …opline->op2.constant = zend_add_ns_func_name_literal(CG(active_op_array), &function_name->u.consta… in zend_do_begin_dynamic_function_call()
2098 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_dynamic_function_call()
2105 …opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &function_name->u.constant … in zend_do_begin_dynamic_function_call()
2106 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_dynamic_function_call()
2108 SET_NODE(opline->op2, function_name); in zend_do_begin_dynamic_function_call()
2357 SET_UNUSED(opline->op2); in zend_do_fetch_class()
2364 opline->op2.constant = in zend_do_fetch_class()
2369 SET_NODE(opline->op2, class_name); in zend_do_fetch_class()
2406 label = opline->op2.zv; in zend_resolve_goto_label()
2408 label = &CONSTANT_EX(op_array, opline->op2.constant); in zend_resolve_goto_label()
2447 SET_UNUSED(opline->op2); in zend_resolve_goto_label()
2466 SET_NODE(opline->op2, label); in zend_do_goto()
2556 opline->op2.constant = in zend_do_begin_class_member_function_call()
2559 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_class_member_function_call()
2561 GET_POLYMORPHIC_CACHE_SLOT(opline->op2.constant); in zend_do_begin_class_member_function_call()
2564 SET_NODE(opline->op2, method_name); in zend_do_begin_class_member_function_call()
2593 SET_UNUSED(opline->op2); in zend_do_end_function_call()
2594 opline->op2.num = CG(context).nested_calls; in zend_do_end_function_call()
2600 SET_UNUSED(opline->op2); in zend_do_end_function_call()
2601 opline->op2.num = --CG(context).nested_calls; in zend_do_end_function_call()
2731 opline->op2.opline_num = fcall->arg_num; in zend_do_pass_param()
2732 SET_UNUSED(opline->op2); in zend_do_pass_param()
2760 opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &func_name TSRMLS_CC); in zend_do_unpack_params()
2761 GET_CACHE_SLOT(opline->op2.constant); in zend_do_unpack_params()
2770 SET_UNUSED(opline->op2); in zend_do_unpack_params()
2771 opline->op2.num = fcall->arg_num; in zend_do_unpack_params()
2787 SET_UNUSED(opline->op2); in generate_free_switch_expr()
2806 SET_UNUSED(opline->op2); in generate_free_foreach_copy()
2848 SET_UNUSED(opline->op2); in zend_do_return()
2868 SET_UNUSED(opline->op2); in zend_do_return()
2905 SET_NODE(opline->op2, key); in zend_do_yield()
2907 SET_UNUSED(opline->op2); in zend_do_yield()
2950 SET_UNUSED(opline->op2); in zend_initialize_try_catch_element()
2993 SET_UNUSED(opline->op2); in zend_do_finally()
3000 SET_UNUSED(opline->op2); in zend_do_finally()
3030 …opline->op2.var = lookup_cv(CG(active_op_array), Z_STRVAL(catch_var->u.constant), Z_STRLEN(catch_v… in zend_do_begin_catch()
3031 Z_STRVAL(catch_var->u.constant) = (char*)CG(active_op_array)->vars[opline->op2.var].name; in zend_do_begin_catch()
3046 SET_UNUSED(opline->op2); in zend_do_end_catch()
3078 SET_UNUSED(opline->op2); in zend_do_end_finally()
3094 SET_UNUSED(opline->op2); in zend_do_throw()
3481 zv = precv->op2.zv; in zend_get_function_declaration()
4594 zval *op1, *op2; in do_bind_function() local
4598 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_function()
4601 op2 = opline->op2.zv; in do_bind_function()
4605 …if (zend_hash_quick_add(function_table, Z_STRVAL_P(op2), Z_STRLEN_P(op2)+1, Z_HASH_P(op2), functio… in do_bind_function()
4609 …if (zend_hash_quick_find(function_table, Z_STRVAL_P(op2), Z_STRLEN_P(op2)+1, Z_HASH_P(op2), (void … in do_bind_function()
4696 zval *op1, *op2; in do_bind_class() local
4700 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_class()
4703 op2 = opline->op2.zv; in do_bind_class()
4712 …if (zend_hash_quick_add(class_table, Z_STRVAL_P(op2), Z_STRLEN_P(op2)+1, Z_HASH_P(op2), &ce, sizeo… in do_bind_class()
4736 zval *op1, *op2; in do_bind_inherited_class() local
4740 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_inherited_class()
4743 op2 = opline->op2.zv; in do_bind_inherited_class()
4755 zend_error_noreturn(E_COMPILE_ERROR, "Cannot redeclare class %s", Z_STRVAL_P(op2)); in do_bind_inherited_class()
4773 …if (zend_hash_quick_add(class_table, Z_STRVAL_P(op2), Z_STRLEN_P(op2)+1, Z_HASH_P(op2), pce, sizeo… in do_bind_inherited_class()
4808 parent_name = &CONSTANT(fetch_class_opline->op2.constant); in zend_do_early_binding()
4829 zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); in zend_do_early_binding()
4849 zend_del_literal(CG(active_op_array), opline->op2.constant); in zend_do_early_binding()
4863 …class(Z_STRVAL_P(op_array->opcodes[opline_num-1].op2.zv), Z_STRLEN_P(op_array->opcodes[opline_num-… in zend_do_delayed_early_binding()
4886 SET_UNUSED(opline->op2); in zend_do_boolean_or_begin()
4902 SET_UNUSED(opline->op2); in zend_do_boolean_or_end()
4904 …CG(active_op_array)->opcodes[op_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(act… in zend_do_boolean_or_end()
4921 SET_UNUSED(opline->op2); in zend_do_boolean_and_begin()
4937 SET_UNUSED(opline->op2); in zend_do_boolean_and_end()
4939 …CG(active_op_array)->opcodes[op_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(act… in zend_do_boolean_and_end()
4956 opline->op2.opline_num = do_token->u.op.opline_num; in zend_do_do_while_end()
4957 SET_UNUSED(opline->op2); in zend_do_do_while_end()
4978 SET_NODE(opline->op2, expr); in zend_do_brk_cont()
4980 LITERAL_LONG(opline->op2, 1); in zend_do_brk_cont()
5013 SET_UNUSED(opline->op2); in zend_do_switch_end()
5032 SET_UNUSED(opline->op2); in zend_do_switch_end()
5060 SET_NODE(opline->op2, case_expr); in zend_do_case_before_statement()
5070 SET_UNUSED(opline->op2); in zend_do_case_before_statement()
5088 SET_UNUSED(opline->op2); in zend_do_case_after_statement()
5096 …CG(active_op_array)->opcodes[case_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(a… in zend_do_case_after_statement()
5112 SET_UNUSED(opline->op2); in zend_do_default_before_statement()
5222 LITERAL_STRINGL(opline->op2, lcname, new_class_entry->name_length, 0); in zend_do_begin_class_declaration()
5223 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_begin_class_declaration()
5247 SET_UNUSED(opline->op2); in do_verify_abstract_class()
5340 …opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &interface_name->u.constan… in zend_do_implements_interface()
5372 …opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &trait_name->u.constant TS… in zend_do_use_trait()
5533 SET_NODE(opline_ptr->op2, property); in zend_do_fetch_property()
5555 … if (opline_ptr->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline_ptr->op2.constant)) == IS_STRING) { in zend_do_fetch_property()
5556 CALCULATE_LITERAL_HASH(opline_ptr->op2.constant); in zend_do_fetch_property()
5557 GET_POLYMORPHIC_CACHE_SLOT(opline_ptr->op2.constant); in zend_do_fetch_property()
5568 SET_UNUSED(opline.op2); in zend_do_fetch_property()
5579 SET_NODE(opline.op2, property); in zend_do_fetch_property()
5580 if (opline.op2_type == IS_CONST && Z_TYPE(CONSTANT(opline.op2.constant)) == IS_STRING) { in zend_do_fetch_property()
5581 CALCULATE_LITERAL_HASH(opline.op2.constant); in zend_do_fetch_property()
5582 GET_POLYMORPHIC_CACHE_SLOT(opline.op2.constant); in zend_do_fetch_property()
5641 SET_UNUSED(opline->op2); in zend_do_begin_new_object()
5657 …CG(active_op_array)->opcodes[new_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(ac… in zend_do_end_new_object()
5761 SET_NODE(opline->op2, constant_name); in zend_do_fetch_constant()
5762 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_fetch_constant()
5764 GET_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5766 GET_POLYMORPHIC_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5812 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5817 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5819 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5822 GET_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5842 opline->op2.opline_num = 1; in zend_do_shell_exec()
5844 SET_UNUSED(opline->op2); in zend_do_shell_exec()
5856 SET_UNUSED(opline->op2); in zend_do_shell_exec()
5857 opline->op2.num = CG(context).nested_calls; in zend_do_shell_exec()
5880 SET_NODE(opline->op2, offset); in zend_do_init_array()
5881 if (opline->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline->op2.constant)) == IS_STRING) { in zend_do_init_array()
5885 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline->op2.constant)), Z_STRLEN(CONSTANT(opline->op2.con… in zend_do_init_array()
5887 zval_dtor(&CONSTANT(opline->op2.constant)); in zend_do_init_array()
5888 ZVAL_LONG(&CONSTANT(opline->op2.constant), index); in zend_do_init_array()
5890 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_init_array()
5894 SET_UNUSED(opline->op2); in zend_do_init_array()
5898 SET_UNUSED(opline->op2); in zend_do_init_array()
5912 SET_NODE(opline->op2, offset); in zend_do_add_array_element()
5913 if (opline->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline->op2.constant)) == IS_STRING) { in zend_do_add_array_element()
5917 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline->op2.constant)), Z_STRLEN(CONSTANT(opline->op2.con… in zend_do_add_array_element()
5919 zval_dtor(&CONSTANT(opline->op2.constant)); in zend_do_add_array_element()
5920 ZVAL_LONG(&CONSTANT(opline->op2.constant), index); in zend_do_add_array_element()
5922 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_add_array_element()
5926 SET_UNUSED(opline->op2); in zend_do_add_array_element()
6041 LITERAL_LONG(opline->op2, *((int *) dimension->data)); in zend_do_list_end()
6136 SET_UNUSED(opline->op2); in zend_do_fetch_static_variable()
6198 SET_UNUSED(opline->op2); in zend_do_fetch_global_variable()
6220 SET_UNUSED(opline->op2); in zend_do_cast()
6236 SET_UNUSED(opline->op2); in zend_do_include_or_eval()
6272 SET_UNUSED(opline->op2); in zend_do_unset()
6318 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
6365 SET_NODE(opline->op2, class_znode); in zend_do_instanceof()
6391 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6410 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6425 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6430 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6532 SET_UNUSED(opline->op2); in zend_do_foreach_end()
6534 …CG(active_op_array)->opcodes[foreach_token->u.op.opline_num].op2.opline_num = get_next_op_number(C… in zend_do_foreach_end()
6535 …CG(active_op_array)->opcodes[as_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(act… in zend_do_foreach_end()
6634 SET_UNUSED(opline->op2); in zend_do_exit()
6650 SET_UNUSED(opline->op2); in zend_do_begin_silence()
6661 SET_UNUSED(opline->op2); in zend_do_end_silence()
6679 SET_UNUSED(opline->op2); in zend_do_jmp_set()
6708 SET_UNUSED(opline->op2); in zend_do_jmp_set_else()
6712 …CG(active_op_array)->opcodes[jmp_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(ac… in zend_do_jmp_set_else()
6727 SET_UNUSED(opline->op2); in zend_do_begin_qm_op()
6728 opline->op2.opline_num = jmpz_op_number; in zend_do_begin_qm_op()
6729 GET_NODE(qm_token, opline->op2); in zend_do_begin_qm_op()
6739 …CG(active_op_array)->opcodes[qm_token->u.op.opline_num].op2.opline_num = get_next_op_number(CG(act… in zend_do_qm_true()
6750 SET_UNUSED(opline->op2); in zend_do_qm_true()
6758 SET_UNUSED(opline->op2); in zend_do_qm_true()
6780 SET_UNUSED(opline->op2); in zend_do_qm_false()
6802 SET_UNUSED(opline->op2); in zend_do_extended_info()
6818 SET_UNUSED(opline->op2); in zend_do_extended_fcall_begin()
6834 SET_UNUSED(opline->op2); in zend_do_extended_fcall_end()
6851 SET_UNUSED(opline->op2); in zend_do_ticks()
7390 SET_NODE(opline->op2, value); in zend_do_declare_constant()