/PHP-7.3/ |
H A D | .gdbinit | 579 usage: printzn &opline->op1 583 printf "op1 => " 584 printzn &execute_data->opline.op1
|
H A D | UPGRADING.INTERNALS | 48 addressing. E.g. opline->op1.constant kept an offset from start of literals 51 EX(literals) + opline->op1.constant. 134 - FETCH_CLASS op1<fetch-flags>, op2<name>, result<var> 135 - FETCH_CONSTANT op1<fetch-flags>, op2<name>, result<tmp> 136 - CATCH ext<last-flag>, op1<name>, op2<jump_addr>, result<cv>
|
/PHP-7.3/Zend/tests/ |
H A D | bug37046.phpt | 11 echo "op1 $k\n"; 20 op1 0 23 op1 1
|
H A D | pow_array_leak.phpt | 2 Memory leak on ** with result==op1 array
|
/PHP-7.3/Zend/ |
H A D | zend_ast.c | 441 zval op1, op2; in zend_ast_evaluate() local 479 ret = op(result, &op1); in zend_ast_evaluate() 516 if (zend_is_true(&op1)) { in zend_ast_evaluate() 527 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate() 534 if (zend_is_true(&op1)) { in zend_ast_evaluate() 545 zval_ptr_dtor_nogc(&op1); in zend_ast_evaluate() 554 *result = op1; in zend_ast_evaluate() 578 *result = op1; in zend_ast_evaluate() 592 ZVAL_LONG(&op1, 0); in zend_ast_evaluate() 601 ZVAL_LONG(&op1, 0); in zend_ast_evaluate() [all …]
|
H A D | zend_ast.h | 317 …_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { in zend_ast_create_binary_op() argument 318 return zend_ast_create_ex(ZEND_AST_BINARY_OP, opcode, op0, op1); in zend_ast_create_binary_op() 320 …_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { in zend_ast_create_assign_op() argument 321 return zend_ast_create_ex(ZEND_AST_ASSIGN_OP, opcode, op0, op1); in zend_ast_create_assign_op()
|
H A D | zend_compile.c | 739 opline->op1.var == op1->u.op.var) { in zend_do_free() 2120 if (op1 != NULL) { in zend_emit_op() 2121 SET_NODE(opline->op1, op1); in zend_emit_op() 2142 if (op1 != NULL) { in zend_emit_op_tmp() 2143 SET_NODE(opline->op1, op1); in zend_emit_op_tmp() 2267 if (op1 != NULL) { in zend_delayed_emit_op() 2268 SET_NODE(tmp_opline.op1, op1); in zend_delayed_emit_op() 4644 SET_UNUSED(opline->op1); in zend_resolve_goto_label() 6976 && !is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), NULL, NULL, 0)) { in zend_binary_op_produces_numeric_string_error() 7007 fn(result, op1, op2); in zend_try_ct_eval_binary_op() [all …]
|
H A D | zend_compile.h | 35 (opline)->op1.num = 0; \ 142 znode_op op1; member 758 void zend_do_free(znode *op1); 1060 ZEND_API zend_bool zend_binary_op_produces_numeric_string_error(uint32_t opcode, zval *op1, zval *o…
|
H A D | zend_execute.c | 1251 if (opline->op1_type == IS_VAR && opline->op1.var == var) { in zend_wrong_string_offset() 1893 zval_undefined_cv(EX(opline)->op1.var EXECUTE_DATA_CC); in zend_fetch_dimension_address() 2039 zval_undefined_cv(EX(opline)->op1.var EXECUTE_DATA_CC); in zend_fetch_dimension_address_read() 2913 tmp = op->op1; in zend_swap_operands() 2915 op->op1 = op->op2; in zend_swap_operands() 3325 if ((opline->op1.num & IS_CONSTANT_UNQUALIFIED) != 0) { in _zend_quick_get_constant() 3526 _get_zval_cv_lookup_ ## type(ptr, opline->op1.var EXECUTE_DATA_CC)
|
H A D | zend_generators.c | 224 fast_call = ZEND_CALL_VAR(ex, ex->func->op_array.opcodes[finally_op_end].op1.var); in zend_generator_dtor_storage()
|
H A D | zend_inheritance.c | 499 && op->op1.num == (zend_ulong)idx) in zend_get_function_declaration() 1614 zval *op1, *op2; in zend_do_traits_property_binding() local 1618 op1 = &ce->default_static_members_table[coliding_prop->offset]; in zend_do_traits_property_binding() 1620 ZVAL_DEINDIRECT(op1); in zend_do_traits_property_binding() 1623 op1 = &ce->default_properties_table[OBJ_PROP_TO_NUM(coliding_prop->offset)]; in zend_do_traits_property_binding() 1628 if (UNEXPECTED(Z_TYPE_P(op1) == IS_CONSTANT_AST)) { in zend_do_traits_property_binding() 1629 ZVAL_COPY_OR_DUP(&op1_tmp, op1); in zend_do_traits_property_binding() 1631 op1 = &op1_tmp; in zend_do_traits_property_binding() 1639 not_compatible = fast_is_not_identical_function(op1, op2); in zend_do_traits_property_binding() 1641 if (op1 == &op1_tmp) { in zend_do_traits_property_binding()
|
H A D | zend_ini_parser.y | 67 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument 74 i_op1 = get_int_val(op1); in zend_ini_do_op() 117 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument 121 if (Z_TYPE_P(op1) != IS_STRING) { in zend_ini_add_string() 125 zend_string *str = zval_get_tmp_string(op1, &tmp_str); in zend_ini_add_string() 126 ZVAL_PSTRINGL(op1, ZSTR_VAL(str), ZSTR_LEN(str)); in zend_ini_add_string() 129 ZVAL_STR(op1, zval_get_string_func(op1)); in zend_ini_add_string() 132 op1_len = (int)Z_STRLEN_P(op1); in zend_ini_add_string() 139 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, ZEND_SYSTEM_INI)); in zend_ini_add_string()
|
H A D | zend_object_handlers.h | 114 typedef int (*zend_object_compare_zvals_t)(zval *resul, zval *op1, zval *op2); 129 typedef int (*zend_object_do_operation_t)(zend_uchar opcode, zval *result, zval *op1, zval *op2);
|
H A D | zend_opcode.c | 480 int array_offset = opline->op1.num; in zend_get_brk_cont_target() 569 opline->op1.opline_num = op_array->try_catch_array[opline->op1.num].finally_op; in pass_two() 570 ZEND_PASS_TWO_UPDATE_JMP_TARGET(op_array, opline, opline->op1); in pass_two() 581 opline->op1.opline_num = jmp_target; in pass_two() 583 ZEND_PASS_TWO_UPDATE_JMP_TARGET(op_array, opline, opline->op1); in pass_two() 589 zend_check_finally_breakout(op_array, opline - op_array->opcodes, opline->op1.opline_num); in pass_two() 593 ZEND_PASS_TWO_UPDATE_JMP_TARGET(op_array, opline, opline->op1); in pass_two() 655 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline, opline->op1); in pass_two() 657 …opline->op1.var = (uint32_t)(zend_intptr_t)ZEND_CALL_VAR_NUM(NULL, op_array->last_var + opline->op… in pass_two()
|
H A D | zend_operators.c | 950 op1 = Z_REFVAL_P(op1); in add_function_slow() 1021 op1 = Z_REFVAL_P(op1); in sub_function_slow() 1095 op1 = Z_REFVAL_P(op1); in mul_function() 1188 op1 = Z_REFVAL_P(op1); in pow_function() 1292 op1 = Z_REFVAL_P(op1); in div_function() 1369 op1 = Z_REFVAL_P(op1); in boolean_xor_function() 1416 op1 = Z_REFVAL_P(op1); in boolean_not_function() 1459 op1 = Z_REFVAL_P(op1); in bitwise_not_function() 1790 op1 = Z_REFVAL_P(op1); in concat_function() 2506 op1 = Z_REFVAL_P(op1); in increment_function() [all …]
|
H A D | zend_operators.h | 479 : "r"(&op1->value) in fast_long_increment_function() 490 : "r"(&op1->value) in fast_long_increment_function() 502 Z_LVAL_P(op1) = lresult; in fast_long_increment_function() 517 Z_LVAL_P(op1)++; in fast_long_increment_function() 529 : "r"(&op1->value) in fast_long_decrement_function() 540 : "r"(&op1->value) in fast_long_decrement_function() 567 Z_LVAL_P(op1)--; in fast_long_decrement_function() 583 "r"(&op1->value), in fast_long_add_function() 601 "r"(&op1->value), in fast_long_add_function() 673 "r"(&op1->value), in fast_long_sub_function() [all …]
|
H A D | zend_vm_def.h | 58 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 101 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 147 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 208 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 236 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 264 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 340 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 433 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 491 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); 541 op1 = GET_OP1_UNDEF_CV(op1, BP_VAR_R); [all …]
|
H A D | zend_vm_execute.h | 11157 op1 = EX_VAR(opline->op1.var); 11169 op1 = EX_VAR(opline->op1.var); 11181 op1 = EX_VAR(opline->op1.var); 11193 op1 = EX_VAR(opline->op1.var); 11205 op1 = EX_VAR(opline->op1.var); 11217 op1 = EX_VAR(opline->op1.var); 11229 op1 = EX_VAR(opline->op1.var); 11242 op1 = EX_VAR(opline->op1.var); 11255 op1 = EX_VAR(opline->op1.var); 27928 op1 = Z_INDIRECT_P(op1); [all …]
|
H A D | zend_vm_gen.php | 636 if (($op1 == 'TMP' || $op1 == 'VAR') && 638 $op1 = "TMPVAR"; 639 } else if (($op1 == 'TMP' || $op1 == 'VAR') && 646 $op1 = "ANY"; 679 if (($op1 == 'TMP' || $op1 == 'VAR') && 681 $op1 = "TMPVAR"; 682 } else if (($op1 == 'TMP' || $op1 == 'VAR') && 689 $op1 = "ANY"; 807 $op1_type[$op1], 809 $op1_free[$op1], [all …]
|
/PHP-7.3/ext/gmp/ |
H A D | gmp.c | 481 FETCH_GMP_ZVAL(gmpnum_op, op1, temp); in shift_operator_helper() 490 result, op1, op2, op, (gmp_binary_ui_op_t) uop, \ 499 gmp_zval_unary_op(result, op1, op); \ 512 shift_operator_helper(mpz_pow_ui, result, op1, op2); in gmp_do_operation_ex() 519 shift_operator_helper(mpz_mul_2exp, result, op1, op2); in gmp_do_operation_ex() 544 if (result == op1) { in gmp_do_operation() 545 ZVAL_COPY_VALUE(&op1_copy, op1); in gmp_do_operation() 546 op1 = &op1_copy; in gmp_do_operation() 551 if (retval == SUCCESS && op1 == &op1_copy) { in gmp_do_operation() 552 zval_ptr_dtor(op1); in gmp_do_operation() [all …]
|
/PHP-7.3/ext/intl/collator/ |
H A D | collator_sort.c | 53 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2) in collator_regular_compare_function() argument 65 str1_p = collator_convert_object_to_string( op1, &str1 ); in collator_regular_compare_function() 151 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2) in collator_numeric_compare_function() argument 157 if( Z_TYPE_P(op1) == IS_STRING ) in collator_numeric_compare_function() 159 num1_p = collator_convert_string_to_double( op1, &num1 ); in collator_numeric_compare_function() 160 op1 = num1_p; in collator_numeric_compare_function() 169 ZVAL_LONG(result, numeric_compare_function(op1, op2)); in collator_numeric_compare_function() 183 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2) in collator_icu_compare_function() argument 191 str1_p = collator_make_printable_zval( op1, &str1); in collator_icu_compare_function()
|
H A D | collator_sort.h | 23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
|
/PHP-7.3/ext/opcache/Optimizer/ |
H A D | block_pass.c | 185 znode_op op1 = opline->op1; in zend_optimize_block() local 189 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 287 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 508 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 516 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 629 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 659 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 694 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 723 COPY_NODE(opline->op1, src->op1); in zend_optimize_block() 868 && op->op1.var == opline->op1.var) in zend_optimize_block() [all …]
|
H A D | compact_literals.c | 82 uint32_t op1, in add_static_slot() argument 90 zval *class_name = &op_array->literals[op1]; in add_static_slot() 522 opline->op1.constant = map[opline->op1.constant]; in zend_optimizer_compact_literals() 649 opline->op1.constant, in zend_optimizer_compact_literals() 659 if (class_slot[opline->op1.constant] >= 0) { in zend_optimizer_compact_literals() 670 if (const_slot[opline->op1.constant] >= 0) { in zend_optimizer_compact_literals() 692 opline->op1.constant, in zend_optimizer_compact_literals() 713 opline->op1.constant, in zend_optimizer_compact_literals() 737 opline->op1.constant, in zend_optimizer_compact_literals() 771 if (class_slot[opline->op1.constant] >= 0) { in zend_optimizer_compact_literals() [all …]
|
H A D | compact_vars.c | 40 zend_bitset_incl(used_vars, VAR_NUM(opline->op1.var)); in zend_optimizer_compact_vars() 88 opline->op1.var = NUM_VAR(vars_map[VAR_NUM(opline->op1.var)]); in zend_optimizer_compact_vars()
|