Lines Matching refs:op2
573 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) … in zend_do_binary_op()
581 SET_NODE(opline->op2, op2); in zend_do_binary_op()
595 SET_UNUSED(opline->op2); in zend_do_unary_op()
599 …)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline…
605 SET_UNUSED(data_op->op2); in zend_do_op_data()
609 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRM… in zend_do_binary_assign_op()
622 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
630 zend_do_op_data(opline, op2 TSRMLS_CC); in zend_do_binary_assign_op()
631 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_do_binary_assign_op()
643 SET_NODE(opline->op2, op2); in zend_do_binary_assign_op()
689 SET_UNUSED(opline_ptr->op2); in fetch_simple_variable_ex()
741 opline.op2.constant = in zend_do_fetch_static_member()
744 SET_NODE(opline.op2, &class_node); in zend_do_fetch_static_member()
766 opline.op2.constant = in zend_do_fetch_static_member()
769 SET_NODE(opline.op2, &class_node); in zend_do_fetch_static_member()
781 opline_ptr->op2.constant = in zend_do_fetch_static_member()
784 SET_NODE(opline_ptr->op2, &class_node); in zend_do_fetch_static_member()
811 SET_UNUSED(opline.op2); in fetch_array_dim()
822 SET_NODE(opline.op2, dim); in fetch_array_dim()
823 if (opline.op2_type == IS_CONST && Z_TYPE(CONSTANT(opline.op2.constant)) == IS_STRING) { in fetch_array_dim()
827 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline.op2.constant)), Z_STRLEN(CONSTANT(opline.op2.const… in fetch_array_dim()
829 zval_dtor(&CONSTANT(opline.op2.constant)); in fetch_array_dim()
830 ZVAL_LONG(&CONSTANT(opline.op2.constant), index); in fetch_array_dim()
832 CALCULATE_LITERAL_HASH(opline.op2.constant); in fetch_array_dim()
856 SET_UNUSED(opline->op2); in zend_do_print()
867 SET_UNUSED(opline->op2); in zend_do_echo()
891 SET_UNUSED(opline->op2); in zend_do_abstract_method()
944 SET_UNUSED(opline->op2); in zend_do_assign()
998 opline->op2.var = get_temporary_variable(CG(active_op_array)); in zend_do_assign()
1015 SET_NODE(opline->op2, value); in zend_do_assign()
1058 SET_NODE(opline->op2, rvar); in zend_do_assign_ref()
1097 SET_UNUSED(opline->op2); in zend_do_while_cond()
1112 SET_UNUSED(opline->op2); in zend_do_while_end()
1115 …CG(active_op_array)->opcodes[close_bracket_token->u.op.opline_num].op2.opline_num = get_next_op_nu… in zend_do_while_end()
1131 SET_UNUSED(opline->op2); in zend_do_for_cond()
1143 SET_UNUSED(opline->op2); in zend_do_for_before_statement()
1157 …CG(active_op_array)->opcodes[second_semicolon_token->u.op.opline_num].op2.opline_num = get_next_op… in zend_do_for_end()
1159 SET_UNUSED(opline->op2); in zend_do_for_end()
1187 SET_UNUSED(opline->op2); in zend_do_pre_incdec()
1214 SET_UNUSED(opline->op2); in zend_do_post_incdec()
1229 SET_UNUSED(opline->op2); in zend_do_if_cond()
1251 …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()
1253 SET_UNUSED(opline->op2); in zend_do_if_after_statement()
1391 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_string()
1395 if (Z_STRLEN(op2->u.constant) > 1) { in zend_do_add_string()
1398 } else if (Z_STRLEN(op2->u.constant) == 1) { in zend_do_add_string()
1399 int ch = *Z_STRVAL(op2->u.constant); in zend_do_add_string()
1402 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1403 ZVAL_LONG(&op2->u.constant, ch); in zend_do_add_string()
1407 efree(Z_STRVAL(op2->u.constant)); in zend_do_add_string()
1419 SET_NODE(opline->op2, op2); in zend_do_add_string()
1424 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ in zend_do_add_variable()
1438 SET_NODE(opline->op2, op2); in zend_do_add_variable()
1450 SET_UNUSED(opline->op2); in zend_do_free()
1469 SET_UNUSED(opline->op2); in zend_do_free()
1709 LITERAL_STRINGL(opline->op2, lcname, name_len, 0); in zend_do_begin_function_declaration()
1710 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_begin_function_declaration()
1723 SET_UNUSED(opline->op2); in zend_do_begin_function_declaration()
1773 zend_del_literal(current_op_array, current_op->op2.constant); in zend_do_begin_lambda_function_declaration()
1774 SET_UNUSED(current_op->op2); in zend_do_begin_lambda_function_declaration()
1789 SET_UNUSED(opline->op2); in zend_do_handle_exception()
1866 SET_NODE(opline->op2, initialization); in zend_do_receive_arg()
1869 SET_UNUSED(opline->op2); in zend_do_receive_arg()
1971 …pe == IS_CONST) && (Z_TYPE(CONSTANT(last_op->op2.constant)) == IS_STRING) && (Z_STRLEN(CONSTANT(la… in zend_do_begin_method_call()
1972 …& !zend_binary_strcasecmp(Z_STRVAL(CONSTANT(last_op->op2.constant)), Z_STRLEN(CONSTANT(last_op->op… in zend_do_begin_method_call()
1979 name = CONSTANT(last_op->op2.constant); in zend_do_begin_method_call()
1986 FREE_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
1987 last_op->op2.constant = in zend_do_begin_method_call()
1989 GET_POLYMORPHIC_CACHE_SLOT(last_op->op2.constant); in zend_do_begin_method_call()
2000 …opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &left_bracket->u.constant T… in zend_do_begin_method_call()
2001 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_method_call()
2003 SET_NODE(opline->op2, left_bracket); in zend_do_begin_method_call()
2018 SET_UNUSED(opline->op2); in zend_do_clone()
2037 …opline->op2.constant = zend_add_ns_func_name_literal(CG(active_op_array), &function_name->u.consta… in zend_do_begin_dynamic_function_call()
2038 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_dynamic_function_call()
2044 …opline->op2.constant = zend_add_func_name_literal(CG(active_op_array), &function_name->u.constant … in zend_do_begin_dynamic_function_call()
2045 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_dynamic_function_call()
2047 SET_NODE(opline->op2, function_name); in zend_do_begin_dynamic_function_call()
2210 SET_UNUSED(opline->op2); in zend_do_fetch_class()
2217 opline->op2.constant = in zend_do_fetch_class()
2222 SET_NODE(opline->op2, class_name); in zend_do_fetch_class()
2259 label = opline->op2.zv; in zend_resolve_goto_label()
2261 label = &CONSTANT_EX(op_array, opline->op2.constant); in zend_resolve_goto_label()
2300 SET_UNUSED(opline->op2); in zend_resolve_goto_label()
2319 SET_NODE(opline->op2, label); in zend_do_goto()
2409 opline->op2.constant = in zend_do_begin_class_member_function_call()
2412 GET_CACHE_SLOT(opline->op2.constant); in zend_do_begin_class_member_function_call()
2414 GET_POLYMORPHIC_CACHE_SLOT(opline->op2.constant); in zend_do_begin_class_member_function_call()
2417 SET_NODE(opline->op2, method_name); in zend_do_begin_class_member_function_call()
2452 SET_UNUSED(opline->op2); in zend_do_end_function_call()
2561 opline->op2.opline_num = offset; in zend_do_pass_param()
2562 SET_UNUSED(opline->op2); in zend_do_pass_param()
2578 SET_UNUSED(opline->op2); in generate_free_switch_expr()
2597 SET_UNUSED(opline->op2); in generate_free_foreach_copy()
2605 SET_UNUSED(opline->op2); in generate_free_foreach_copy()
2657 SET_UNUSED(opline->op2); in zend_do_return()
2692 SET_UNUSED(opline->op2); in zend_initialize_try_catch_element()
2750 …opline->op2.var = lookup_cv(CG(active_op_array), catch_var->u.constant.value.str.val, catch_var->u… in zend_do_begin_catch()
2751 Z_STRVAL(catch_var->u.constant) = (char*)CG(active_op_array)->vars[opline->op2.var].name; in zend_do_begin_catch()
2766 SET_UNUSED(opline->op2); in zend_do_end_catch()
2783 SET_UNUSED(opline->op2); in zend_do_throw()
3150 *zv = *precv->op2.zv; in zend_get_function_declaration()
4239 zval *op1, *op2; in do_bind_function() local
4243 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_function()
4246 op2 = opline->op2.zv; in do_bind_function()
4250 …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()
4254 …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()
4345 zval *op1, *op2; in do_bind_class() local
4349 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_class()
4352 op2 = opline->op2.zv; in do_bind_class()
4361 …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()
4385 zval *op1, *op2; in do_bind_inherited_class() local
4389 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_inherited_class()
4392 op2 = opline->op2.zv; in do_bind_inherited_class()
4404 zend_error(E_COMPILE_ERROR, "Cannot redeclare class %s", Z_STRVAL_P(op2)); in do_bind_inherited_class()
4422 …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()
4457 parent_name = &CONSTANT(fetch_class_opline->op2.constant); in zend_do_early_binding()
4478 zend_del_literal(CG(active_op_array), fetch_class_opline->op2.constant); in zend_do_early_binding()
4498 zend_del_literal(CG(active_op_array), opline->op2.constant); in zend_do_early_binding()
4512 …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()
4535 SET_UNUSED(opline->op2); in zend_do_boolean_or_begin()
4551 SET_UNUSED(opline->op2); in zend_do_boolean_or_end()
4553 …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()
4570 SET_UNUSED(opline->op2); in zend_do_boolean_and_begin()
4586 SET_UNUSED(opline->op2); in zend_do_boolean_and_end()
4588 …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()
4605 opline->op2.opline_num = do_token->u.op.opline_num; in zend_do_do_while_end()
4606 SET_UNUSED(opline->op2); in zend_do_do_while_end()
4627 SET_NODE(opline->op2, expr); in zend_do_brk_cont()
4629 LITERAL_LONG(opline->op2, 1); in zend_do_brk_cont()
4662 SET_UNUSED(opline->op2); in zend_do_switch_end()
4681 SET_UNUSED(opline->op2); in zend_do_switch_end()
4709 SET_NODE(opline->op2, case_expr); in zend_do_case_before_statement()
4719 SET_UNUSED(opline->op2); in zend_do_case_before_statement()
4737 SET_UNUSED(opline->op2); in zend_do_case_after_statement()
4745 …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()
4761 SET_UNUSED(opline->op2); in zend_do_default_before_statement()
4871 LITERAL_STRINGL(opline->op2, lcname, new_class_entry->name_length, 0); in zend_do_begin_class_declaration()
4872 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_begin_class_declaration()
4896 SET_UNUSED(opline->op2); in do_verify_abstract_class()
4989 …opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &interface_name->u.constan… in zend_do_implements_interface()
5021 …opline->op2.constant = zend_add_class_name_literal(CG(active_op_array), &trait_name->u.constant TS… in zend_do_use_trait()
5179 SET_NODE(opline_ptr->op2, property); in zend_do_fetch_property()
5201 … if (opline_ptr->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline_ptr->op2.constant)) == IS_STRING) { in zend_do_fetch_property()
5202 CALCULATE_LITERAL_HASH(opline_ptr->op2.constant); in zend_do_fetch_property()
5203 GET_POLYMORPHIC_CACHE_SLOT(opline_ptr->op2.constant); in zend_do_fetch_property()
5214 SET_UNUSED(opline.op2); in zend_do_fetch_property()
5225 SET_NODE(opline.op2, property); in zend_do_fetch_property()
5226 if (opline.op2_type == IS_CONST && Z_TYPE(CONSTANT(opline.op2.constant)) == IS_STRING) { in zend_do_fetch_property()
5227 CALCULATE_LITERAL_HASH(opline.op2.constant); in zend_do_fetch_property()
5228 GET_POLYMORPHIC_CACHE_SLOT(opline.op2.constant); in zend_do_fetch_property()
5287 SET_UNUSED(opline->op2); in zend_do_begin_new_object()
5300 …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()
5405 SET_NODE(opline->op2, constant_name); in zend_do_fetch_constant()
5406 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_fetch_constant()
5408 GET_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5410 GET_POLYMORPHIC_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5456 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5461 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5463 …opline->op2.constant = zend_add_const_name_literal(CG(active_op_array), &constant_name->u.constant… in zend_do_fetch_constant()
5466 GET_CACHE_SLOT(opline->op2.constant); in zend_do_fetch_constant()
5486 opline->op2.opline_num = 1; in zend_do_shell_exec()
5488 SET_UNUSED(opline->op2); in zend_do_shell_exec()
5500 SET_UNUSED(opline->op2); in zend_do_shell_exec()
5516 SET_NODE(opline->op2, offset); in zend_do_init_array()
5517 if (opline->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline->op2.constant)) == IS_STRING) { in zend_do_init_array()
5521 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline->op2.constant)), Z_STRLEN(CONSTANT(opline->op2.con… in zend_do_init_array()
5523 zval_dtor(&CONSTANT(opline->op2.constant)); in zend_do_init_array()
5524 ZVAL_LONG(&CONSTANT(opline->op2.constant), index); in zend_do_init_array()
5526 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_init_array()
5530 SET_UNUSED(opline->op2); in zend_do_init_array()
5534 SET_UNUSED(opline->op2); in zend_do_init_array()
5548 SET_NODE(opline->op2, offset); in zend_do_add_array_element()
5549 if (opline->op2_type == IS_CONST && Z_TYPE(CONSTANT(opline->op2.constant)) == IS_STRING) { in zend_do_add_array_element()
5553 …ZEND_HANDLE_NUMERIC_EX(Z_STRVAL(CONSTANT(opline->op2.constant)), Z_STRLEN(CONSTANT(opline->op2.con… in zend_do_add_array_element()
5555 zval_dtor(&CONSTANT(opline->op2.constant)); in zend_do_add_array_element()
5556 ZVAL_LONG(&CONSTANT(opline->op2.constant), index); in zend_do_add_array_element()
5558 CALCULATE_LITERAL_HASH(opline->op2.constant); in zend_do_add_array_element()
5562 SET_UNUSED(opline->op2); in zend_do_add_array_element()
5684 LITERAL_LONG(opline->op2, *((int *) dimension->data)); in zend_do_list_end()
5779 SET_UNUSED(opline->op2); in zend_do_fetch_static_variable()
5841 SET_UNUSED(opline->op2); in zend_do_fetch_global_variable()
5863 SET_UNUSED(opline->op2); in zend_do_cast()
5879 SET_UNUSED(opline->op2); in zend_do_include_or_eval()
5915 SET_UNUSED(opline->op2); in zend_do_unset()
5952 SET_UNUSED(last_op->op2); in zend_do_isset_or_isempty()
5999 SET_NODE(opline->op2, class_znode); in zend_do_instanceof()
6044 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6064 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6069 SET_UNUSED(opline->op2); in zend_do_foreach_begin()
6164 SET_UNUSED(opline->op2); in zend_do_foreach_end()
6166 …CG(active_op_array)->opcodes[foreach_token->u.op.opline_num].op2.opline_num = get_next_op_number(C… in zend_do_foreach_end()
6167 …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()
6266 SET_UNUSED(opline->op2); in zend_do_exit()
6282 SET_UNUSED(opline->op2); in zend_do_begin_silence()
6293 SET_UNUSED(opline->op2); in zend_do_end_silence()
6311 SET_UNUSED(opline->op2); in zend_do_jmp_set()
6340 SET_UNUSED(opline->op2); in zend_do_jmp_set_else()
6344 …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()
6359 SET_UNUSED(opline->op2); in zend_do_begin_qm_op()
6360 opline->op2.opline_num = jmpz_op_number; in zend_do_begin_qm_op()
6361 GET_NODE(qm_token, opline->op2); in zend_do_begin_qm_op()
6371 …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()
6382 SET_UNUSED(opline->op2); in zend_do_qm_true()
6390 SET_UNUSED(opline->op2); in zend_do_qm_true()
6412 SET_UNUSED(opline->op2); in zend_do_qm_false()
6434 SET_UNUSED(opline->op2); in zend_do_extended_info()
6450 SET_UNUSED(opline->op2); in zend_do_extended_fcall_begin()
6466 SET_UNUSED(opline->op2); in zend_do_extended_fcall_end()
6476 SET_UNUSED(opline->op2); in zend_do_ticks()
6890 SET_NODE(opline->op2, value); in zend_do_declare_constant()