Lines Matching refs:op2
576 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) … in zend_do_binary_op()
584 SET_NODE(opline->op2, op2); in zend_do_binary_op()
598 SET_UNUSED(opline->op2); in zend_do_unary_op()
602 …)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline…
608 SET_UNUSED(data_op->op2); in zend_do_op_data()
612 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM… in zend_do_binary_assign_op()
625 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
633 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
634 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_do_binary_assign_op()
646 SET_NODE(opline->op2, op2); in zend_do_binary_assign_op()
692 SET_UNUSED(opline_ptr->op2); in fetch_simple_variable_ex()
744 opline.op2.constant = in zend_do_fetch_static_member()
747 SET_NODE(opline.op2, &class_node); in zend_do_fetch_static_member()
769 opline.op2.constant = in zend_do_fetch_static_member()
772 SET_NODE(opline.op2, &class_node); in zend_do_fetch_static_member()
784 opline_ptr->op2.constant = in zend_do_fetch_static_member()
787 SET_NODE(opline_ptr->op2, &class_node); in zend_do_fetch_static_member()
814 SET_UNUSED(opline.op2); in fetch_array_dim()
825 SET_NODE(opline.op2, dim); in fetch_array_dim()
826 if (opline.op2_type == IS_CONST && Z_TYPE(CONSTANT(opline.op2.constant)) == IS_STRING) { in fetch_array_dim()
830 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline.op2.constant)), Z_STRLEN(CONSTANT(opline.op2.const… in fetch_array_dim()
832 zval_dtor(&CONSTANT(opline.op2.constant)); in fetch_array_dim()
833 ZVAL_LONG(&CONSTANT(opline.op2.constant), index); in fetch_array_dim()
835 CALCULATE_LITERAL_HASH(opline.op2.constant); in fetch_array_dim()
859 SET_UNUSED(opline->op2); in zend_do_print()
870 SET_UNUSED(opline->op2); in zend_do_echo()
894 SET_UNUSED(opline->op2); in zend_do_abstract_method()
947 SET_UNUSED(opline->op2); in zend_do_assign()
1001 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_do_assign()
1018 SET_NODE(opline->op2, value); in zend_do_assign()
1061 SET_NODE(opline->op2, rvar); in zend_do_assign_ref()
1100 SET_UNUSED(opline->op2); in zend_do_while_cond()
1115 SET_UNUSED(opline->op2); in zend_do_while_end()
1118 …CG(active_op_array)->opcodes[close_bracket_token->u.op.opline_num].op2.opline_num = get_next_op_nu… in zend_do_while_end()
1134 SET_UNUSED(opline->op2); in zend_do_for_cond()
1146 SET_UNUSED(opline->op2); in zend_do_for_before_statement()
1160 …CG(active_op_array)->opcodes[second_semicolon_token->u.op.opline_num].op2.opline_num = get_next_op… in zend_do_for_end()
1162 SET_UNUSED(opline->op2); in zend_do_for_end()
1190 SET_UNUSED(opline->op2); in zend_do_pre_incdec()
1217 SET_UNUSED(opline->op2); in zend_do_post_incdec()
1232 SET_UNUSED(opline->op2); in zend_do_if_cond()
1254 …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()
1256 SET_UNUSED(opline->op2); in zend_do_if_after_statement()
1394 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string()
1398 if (Z_STRLEN(op2->u.constant) > 1) { in zend_do_add_string()
1401 } else if (Z_STRLEN(op2->u.constant) == 1) { in zend_do_add_string()
1402 int ch = *Z_STRVAL(op2->u.constant); in zend_do_add_string()
1405 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1406 ZVAL_LONG(&op2->u.constant, ch); in zend_do_add_string()
1410 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1422 SET_NODE(opline->op2, op2); in zend_do_add_string()
1427 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable()
1441 SET_NODE(opline->op2, op2); in zend_do_add_variable()
1453 SET_UNUSED(opline->op2); in zend_do_free()
1472 SET_UNUSED(opline->op2); in zend_do_free()
1720 LITERAL_STRINGL(opline->op2, lcname, name_len, 0); in zend_do_begin_function_declaration()
1721 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_begin_function_declaration()
1734 SET_UNUSED(opline->op2); in zend_do_begin_function_declaration()
1783 zend_del_literal(current_op_array, current_op->op2.constant); in zend_do_begin_lambda_function_declaration()
1784 SET_UNUSED(current_op->op2); in zend_do_begin_lambda_function_declaration()
1799 SET_UNUSED(opline->op2); in zend_do_handle_exception()
1876 SET_NODE(opline->op2, initialization); in zend_do_receive_arg()
1879 SET_UNUSED(opline->op2); in zend_do_receive_arg()
1984 …pe == IS_CONST) && (Z_TYPE(CONSTANT(last_op->op2.constant)) == IS_STRING) && (Z_STRLEN(CONSTANT(la… in zend_do_begin_method_call()
1985 …& !zend_binary_strcasecmp(Z_STRVAL(CONSTANT(last_op->op2.constant)), Z_STRLEN(CONSTANT(last_op->op… in zend_do_begin_method_call()
1992 name = CONSTANT(last_op->op2.constant); in zend_do_begin_method_call()
1999 FREE_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2000 last_op->op2.constant = in zend_do_begin_method_call()
2002 GET_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2015 …opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &left_bracket->u.constant T… in zend_do_begin_method_call()
2016 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_method_call()
2018 SET_NODE(opline->op2, left_bracket); in zend_do_begin_method_call()
2036 SET_UNUSED(opline->op2); in zend_do_clone()
2056 …opline->op2.constant = zend_add_ns_func_name_literal(CG(active_op_array), &function_name->u.consta… in zend_do_begin_dynamic_function_call()
2057 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_dynamic_function_call()
2064 …opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &function_name->u.constant … in zend_do_begin_dynamic_function_call()
2065 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_dynamic_function_call()
2067 SET_NODE(opline->op2, function_name); in zend_do_begin_dynamic_function_call()
2286 SET_UNUSED(opline->op2); in zend_do_fetch_class()
2293 opline->op2.constant = in zend_do_fetch_class()
2298 SET_NODE(opline->op2, class_name); in zend_do_fetch_class()
2335 label = opline->op2.zv; in zend_resolve_goto_label()
2337 label = &CONSTANT_EX(op_array, opline->op2.constant); in zend_resolve_goto_label()
2376 SET_UNUSED(opline->op2); in zend_resolve_goto_label()
2395 SET_NODE(opline->op2, label); in zend_do_goto()
2486 opline->op2.constant = in zend_do_begin_class_member_function_call()
2489 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_class_member_function_call()
2491 GET_POLYMORPHIC_CACHE_SLOT(opline->op2.constant); in zend_do_begin_class_member_function_call()
2494 SET_NODE(opline->op2, method_name); in zend_do_begin_class_member_function_call()
2521 SET_UNUSED(opline->op2); in zend_do_end_function_call()
2522 opline->op2.num = CG(context).nested_calls; in zend_do_end_function_call()
2528 SET_UNUSED(opline->op2); in zend_do_end_function_call()
2529 opline->op2.num = --CG(context).nested_calls; in zend_do_end_function_call()
2649 opline->op2.opline_num = offset; in zend_do_pass_param()
2650 SET_UNUSED(opline->op2); in zend_do_pass_param()
2670 SET_UNUSED(opline->op2); in generate_free_switch_expr()
2689 SET_UNUSED(opline->op2); in generate_free_foreach_copy()
2731 SET_UNUSED(opline->op2); in zend_do_return()
2749 SET_UNUSED(opline->op2); in zend_do_return()
2786 SET_NODE(opline->op2, key); in zend_do_yield()
2788 SET_UNUSED(opline->op2); in zend_do_yield()
2831 SET_UNUSED(opline->op2); in zend_initialize_try_catch_element()
2874 SET_UNUSED(opline->op2); in zend_do_finally()
2881 SET_UNUSED(opline->op2); in zend_do_finally()
2911 …opline->op2.var = lookup_cv(CG(active_op_array), catch_var->u.constant.value.str.val, catch_var->u… in zend_do_begin_catch()
2912 Z_STRVAL(catch_var->u.constant) = (char*)CG(active_op_array)->vars[opline->op2.var].name; in zend_do_begin_catch()
2927 SET_UNUSED(opline->op2); in zend_do_end_catch()
2959 SET_UNUSED(opline->op2); in zend_do_end_finally()
2975 SET_UNUSED(opline->op2); in zend_do_throw()
3342 *zv = *precv->op2.zv; in zend_get_function_declaration()
4451 zval *op1, *op2; in do_bind_function() local
4455 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_function()
4458 op2 = opline->op2.zv; in do_bind_function()
4462 …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()
4466 …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()
4553 zval *op1, *op2; in do_bind_class() local
4557 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_class()
4560 op2 = opline->op2.zv; in do_bind_class()
4569 …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()
4593 zval *op1, *op2; in do_bind_inherited_class() local
4597 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_inherited_class()
4600 op2 = opline->op2.zv; in do_bind_inherited_class()
4612 zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", Z_STRVAL_P(op2)); in do_bind_inherited_class()
4630 …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()
4665 parent_name = &CONSTANT(fetch_class_opline->op2.constant); in zend_do_early_binding()
4686 zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); in zend_do_early_binding()
4706 zend_del_literal(CG(active_op_array), opline->op2.constant); in zend_do_early_binding()
4720 …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()
4743 SET_UNUSED(opline->op2); in zend_do_boolean_or_begin()
4759 SET_UNUSED(opline->op2); in zend_do_boolean_or_end()
4761 …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()
4778 SET_UNUSED(opline->op2); in zend_do_boolean_and_begin()
4794 SET_UNUSED(opline->op2); in zend_do_boolean_and_end()
4796 …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()
4813 opline->op2.opline_num = do_token->u.op.opline_num; in zend_do_do_while_end()
4814 SET_UNUSED(opline->op2); in zend_do_do_while_end()
4835 SET_NODE(opline->op2, expr); in zend_do_brk_cont()
4837 LITERAL_LONG(opline->op2, 1); in zend_do_brk_cont()
4870 SET_UNUSED(opline->op2); in zend_do_switch_end()
4889 SET_UNUSED(opline->op2); in zend_do_switch_end()
4917 SET_NODE(opline->op2, case_expr); in zend_do_case_before_statement()
4927 SET_UNUSED(opline->op2); in zend_do_case_before_statement()
4945 SET_UNUSED(opline->op2); in zend_do_case_after_statement()
4953 …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()
4969 SET_UNUSED(opline->op2); in zend_do_default_before_statement()
5079 LITERAL_STRINGL(opline->op2, lcname, new_class_entry->name_length, 0); in zend_do_begin_class_declaration()
5080 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_begin_class_declaration()
5104 SET_UNUSED(opline->op2); in do_verify_abstract_class()
5197 …opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &interface_name->u.constan… in zend_do_implements_interface()
5229 …opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &trait_name->u.constant TS… in zend_do_use_trait()
5399 SET_NODE(opline_ptr->op2, property); in zend_do_fetch_property()
5421 … if (opline_ptr->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline_ptr->op2.constant)) == IS_STRING) { in zend_do_fetch_property()
5422 CALCULATE_LITERAL_HASH(opline_ptr->op2.constant); in zend_do_fetch_property()
5423 GET_POLYMORPHIC_CACHE_SLOT(opline_ptr->op2.constant); in zend_do_fetch_property()
5434 SET_UNUSED(opline.op2); in zend_do_fetch_property()
5445 SET_NODE(opline.op2, property); in zend_do_fetch_property()
5446 if (opline.op2_type == IS_CONST && Z_TYPE(CONSTANT(opline.op2.constant)) == IS_STRING) { in zend_do_fetch_property()
5447 CALCULATE_LITERAL_HASH(opline.op2.constant); in zend_do_fetch_property()
5448 GET_POLYMORPHIC_CACHE_SLOT(opline.op2.constant); in zend_do_fetch_property()
5508 SET_UNUSED(opline->op2); in zend_do_begin_new_object()
5524 …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()
5629 SET_NODE(opline->op2, constant_name); in zend_do_fetch_constant()
5630 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_fetch_constant()
5632 GET_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5634 GET_POLYMORPHIC_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5680 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5685 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5687 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5690 GET_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5710 opline->op2.opline_num = 1; in zend_do_shell_exec()
5712 SET_UNUSED(opline->op2); in zend_do_shell_exec()
5724 SET_UNUSED(opline->op2); in zend_do_shell_exec()
5725 opline->op2.num = CG(context).nested_calls; in zend_do_shell_exec()
5748 SET_NODE(opline->op2, offset); in zend_do_init_array()
5749 if (opline->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline->op2.constant)) == IS_STRING) { in zend_do_init_array()
5753 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline->op2.constant)), Z_STRLEN(CONSTANT(opline->op2.con… in zend_do_init_array()
5755 zval_dtor(&CONSTANT(opline->op2.constant)); in zend_do_init_array()
5756 ZVAL_LONG(&CONSTANT(opline->op2.constant), index); in zend_do_init_array()
5758 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_init_array()
5762 SET_UNUSED(opline->op2); in zend_do_init_array()
5766 SET_UNUSED(opline->op2); in zend_do_init_array()
5780 SET_NODE(opline->op2, offset); in zend_do_add_array_element()
5781 if (opline->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline->op2.constant)) == IS_STRING) { in zend_do_add_array_element()
5785 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline->op2.constant)), Z_STRLEN(CONSTANT(opline->op2.con… in zend_do_add_array_element()
5787 zval_dtor(&CONSTANT(opline->op2.constant)); in zend_do_add_array_element()
5788 ZVAL_LONG(&CONSTANT(opline->op2.constant), index); in zend_do_add_array_element()
5790 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_add_array_element()
5794 SET_UNUSED(opline->op2); in zend_do_add_array_element()
5916 LITERAL_LONG(opline->op2, *((int *) dimension->data)); in zend_do_list_end()
6011 SET_UNUSED(opline->op2); in zend_do_fetch_static_variable()
6073 SET_UNUSED(opline->op2); in zend_do_fetch_global_variable()
6095 SET_UNUSED(opline->op2); in zend_do_cast()
6111 SET_UNUSED(opline->op2); in zend_do_include_or_eval()
6147 SET_UNUSED(opline->op2); in zend_do_unset()
6193 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
6240 SET_NODE(opline->op2, class_znode); in zend_do_instanceof()
6266 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6285 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6300 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6305 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6407 SET_UNUSED(opline->op2); in zend_do_foreach_end()
6409 …CG(active_op_array)->opcodes[foreach_token->u.op.opline_num].op2.opline_num = get_next_op_number(C… in zend_do_foreach_end()
6410 …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()
6509 SET_UNUSED(opline->op2); in zend_do_exit()
6525 SET_UNUSED(opline->op2); in zend_do_begin_silence()
6536 SET_UNUSED(opline->op2); in zend_do_end_silence()
6554 SET_UNUSED(opline->op2); in zend_do_jmp_set()
6583 SET_UNUSED(opline->op2); in zend_do_jmp_set_else()
6587 …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()
6602 SET_UNUSED(opline->op2); in zend_do_begin_qm_op()
6603 opline->op2.opline_num = jmpz_op_number; in zend_do_begin_qm_op()
6604 GET_NODE(qm_token, opline->op2); in zend_do_begin_qm_op()
6614 …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()
6625 SET_UNUSED(opline->op2); in zend_do_qm_true()
6633 SET_UNUSED(opline->op2); in zend_do_qm_true()
6655 SET_UNUSED(opline->op2); in zend_do_qm_false()
6677 SET_UNUSED(opline->op2); in zend_do_extended_info()
6693 SET_UNUSED(opline->op2); in zend_do_extended_fcall_begin()
6709 SET_UNUSED(opline->op2); in zend_do_extended_fcall_end()
6719 SET_UNUSED(opline->op2); in zend_do_ticks()
7130 SET_NODE(opline->op2, value); in zend_do_declare_constant()