Lines Matching refs:retval_ptr
2699 zval *retval_ptr; local
2703 retval_ptr = RT_CONSTANT(opline, opline->op1);
2705 if (IS_CONST == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
2707 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
2720 ZVAL_COPY_VALUE(return_value, retval_ptr);
2727 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
2728 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
2729 ZVAL_COPY_VALUE(return_value, retval_ptr);
2731 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
2735 ZVAL_NULL(retval_ptr);
2740 retval_ptr = Z_REFVAL_P(retval_ptr);
2741 ZVAL_COPY(return_value, retval_ptr);
2744 ZVAL_COPY_VALUE(return_value, retval_ptr);
2747 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
2748 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
2750 retval_ptr = Z_REFVAL_P(retval_ptr);
2751 ZVAL_COPY_VALUE(return_value, retval_ptr);
2754 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
2755 Z_ADDREF_P(retval_ptr);
2758 ZVAL_COPY_VALUE(return_value, retval_ptr);
2768 zval *retval_ptr; local
2779 retval_ptr = RT_CONSTANT(opline, opline->op1);
2783 if (IS_CONST == IS_VAR && UNEXPECTED(Z_ISREF_P(retval_ptr))) {
2784 ZVAL_COPY_VALUE(EX(return_value), retval_ptr);
2788 ZVAL_NEW_REF(EX(return_value), retval_ptr);
2790 Z_TRY_ADDREF_P(retval_ptr);
2796 retval_ptr = NULL;
2799 if (retval_ptr == &EG(uninitialized_zval) ||
2800 (opline->extended_value == ZEND_RETURNS_FUNCTION && !Z_ISREF_P(retval_ptr))) {
2803 ZVAL_NEW_REF(EX(return_value), retval_ptr);
2812 if (Z_ISREF_P(retval_ptr)) {
2813 Z_ADDREF_P(retval_ptr);
2815 ZVAL_MAKE_REF_EX(retval_ptr, 2);
2817 ZVAL_REF(EX(return_value), Z_REF_P(retval_ptr));
8764 zval *retval_ref, *retval_ptr;
8768 retval_ref = retval_ptr = RT_CONSTANT(opline, opline->op1);
8771 ZVAL_COPY(EX_VAR(opline->result.var), retval_ptr);
8772 retval_ref = retval_ptr = EX_VAR(opline->result.var);
8774 if (UNEXPECTED(Z_TYPE_P(retval_ptr) == IS_INDIRECT)) {
8775 retval_ptr = Z_INDIRECT_P(retval_ptr);
8777 ZVAL_DEREF(retval_ptr);
8779 ZVAL_DEREF(retval_ptr);
8785 && !ZEND_SAME_FAKE_TYPE(ZEND_TYPE_CODE(ret_info->type), Z_TYPE_P(retval_ptr))
8787 && retval_ref != retval_ptr)
8794 ZVAL_COPY(retval_ref, retval_ptr);
8796 retval_ptr = retval_ref;
8798 zend_verify_return_type(EX(func), retval_ptr, CACHE_ADDR(opline->op2.num));
17633 zval *retval_ptr; local
17637 retval_ptr = _get_zval_ptr_tmp(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
17639 if (IS_TMP_VAR == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
17641 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
17654 ZVAL_COPY_VALUE(return_value, retval_ptr);
17661 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
17662 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
17663 ZVAL_COPY_VALUE(return_value, retval_ptr);
17665 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
17669 ZVAL_NULL(retval_ptr);
17674 retval_ptr = Z_REFVAL_P(retval_ptr);
17675 ZVAL_COPY(return_value, retval_ptr);
17678 ZVAL_COPY_VALUE(return_value, retval_ptr);
17681 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
17682 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
17684 retval_ptr = Z_REFVAL_P(retval_ptr);
17685 ZVAL_COPY_VALUE(return_value, retval_ptr);
17688 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
17689 Z_ADDREF_P(retval_ptr);
17692 ZVAL_COPY_VALUE(return_value, retval_ptr);
17702 zval *retval_ptr; local
17713 retval_ptr = _get_zval_ptr_tmp(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
17717 if (IS_TMP_VAR == IS_VAR && UNEXPECTED(Z_ISREF_P(retval_ptr))) {
17718 ZVAL_COPY_VALUE(EX(return_value), retval_ptr);
17722 ZVAL_NEW_REF(EX(return_value), retval_ptr);
17724 Z_TRY_ADDREF_P(retval_ptr);
17730 retval_ptr = NULL;
17733 if (retval_ptr == &EG(uninitialized_zval) ||
17734 (opline->extended_value == ZEND_RETURNS_FUNCTION && !Z_ISREF_P(retval_ptr))) {
17737 ZVAL_NEW_REF(EX(return_value), retval_ptr);
17746 if (Z_ISREF_P(retval_ptr)) {
17747 Z_ADDREF_P(retval_ptr);
17749 ZVAL_MAKE_REF_EX(retval_ptr, 2);
17751 ZVAL_REF(EX(return_value), Z_REF_P(retval_ptr));
19389 zval *retval_ref, *retval_ptr;
19393 retval_ref = retval_ptr = _get_zval_ptr_tmp(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
19396 ZVAL_COPY(EX_VAR(opline->result.var), retval_ptr);
19397 retval_ref = retval_ptr = EX_VAR(opline->result.var);
19399 if (UNEXPECTED(Z_TYPE_P(retval_ptr) == IS_INDIRECT)) {
19400 retval_ptr = Z_INDIRECT_P(retval_ptr);
19402 ZVAL_DEREF(retval_ptr);
19404 ZVAL_DEREF(retval_ptr);
19410 && !ZEND_SAME_FAKE_TYPE(ZEND_TYPE_CODE(ret_info->type), Z_TYPE_P(retval_ptr))
19412 && retval_ref != retval_ptr)
19419 ZVAL_COPY(retval_ref, retval_ptr);
19421 retval_ptr = retval_ref;
19423 zend_verify_return_type(EX(func), retval_ptr, CACHE_ADDR(opline->op2.num));
20406 zval *retval_ptr; local
20410 retval_ptr = _get_zval_ptr_var(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
20412 if (IS_VAR == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
20414 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
20427 ZVAL_COPY_VALUE(return_value, retval_ptr);
20434 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
20435 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
20436 ZVAL_COPY_VALUE(return_value, retval_ptr);
20438 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
20442 ZVAL_NULL(retval_ptr);
20447 retval_ptr = Z_REFVAL_P(retval_ptr);
20448 ZVAL_COPY(return_value, retval_ptr);
20451 ZVAL_COPY_VALUE(return_value, retval_ptr);
20454 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
20455 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
20457 retval_ptr = Z_REFVAL_P(retval_ptr);
20458 ZVAL_COPY_VALUE(return_value, retval_ptr);
20461 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
20462 Z_ADDREF_P(retval_ptr);
20465 ZVAL_COPY_VALUE(return_value, retval_ptr);
20475 zval *retval_ptr; local
20486 retval_ptr = _get_zval_ptr_var(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
20490 if (IS_VAR == IS_VAR && UNEXPECTED(Z_ISREF_P(retval_ptr))) {
20491 ZVAL_COPY_VALUE(EX(return_value), retval_ptr);
20495 ZVAL_NEW_REF(EX(return_value), retval_ptr);
20497 Z_TRY_ADDREF_P(retval_ptr);
20503 retval_ptr = _get_zval_ptr_ptr_var(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
20506 if (retval_ptr == &EG(uninitialized_zval) ||
20507 (opline->extended_value == ZEND_RETURNS_FUNCTION && !Z_ISREF_P(retval_ptr))) {
20510 ZVAL_NEW_REF(EX(return_value), retval_ptr);
20519 if (Z_ISREF_P(retval_ptr)) {
20520 Z_ADDREF_P(retval_ptr);
20522 ZVAL_MAKE_REF_EX(retval_ptr, 2);
20524 ZVAL_REF(EX(return_value), Z_REF_P(retval_ptr));
27528 zval *retval_ref, *retval_ptr;
27532 retval_ref = retval_ptr = _get_zval_ptr_var(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
27535 ZVAL_COPY(EX_VAR(opline->result.var), retval_ptr);
27536 retval_ref = retval_ptr = EX_VAR(opline->result.var);
27538 if (UNEXPECTED(Z_TYPE_P(retval_ptr) == IS_INDIRECT)) {
27539 retval_ptr = Z_INDIRECT_P(retval_ptr);
27541 ZVAL_DEREF(retval_ptr);
27543 ZVAL_DEREF(retval_ptr);
27549 && !ZEND_SAME_FAKE_TYPE(ZEND_TYPE_CODE(ret_info->type), Z_TYPE_P(retval_ptr))
27551 && retval_ref != retval_ptr)
27558 ZVAL_COPY(retval_ref, retval_ptr);
27560 retval_ptr = retval_ref;
27562 zend_verify_return_type(EX(func), retval_ptr, CACHE_ADDR(opline->op2.num));
34345 zval *retval_ref, *retval_ptr;
34349 retval_ref = retval_ptr = NULL;
34352 ZVAL_COPY(EX_VAR(opline->result.var), retval_ptr);
34353 retval_ref = retval_ptr = EX_VAR(opline->result.var);
34355 if (UNEXPECTED(Z_TYPE_P(retval_ptr) == IS_INDIRECT)) {
34356 retval_ptr = Z_INDIRECT_P(retval_ptr);
34358 ZVAL_DEREF(retval_ptr);
34360 ZVAL_DEREF(retval_ptr);
34366 && !ZEND_SAME_FAKE_TYPE(ZEND_TYPE_CODE(ret_info->type), Z_TYPE_P(retval_ptr))
34368 && retval_ref != retval_ptr)
34375 ZVAL_COPY(retval_ref, retval_ptr);
34377 retval_ptr = retval_ref;
34379 zend_verify_return_type(EX(func), retval_ptr, CACHE_ADDR(opline->op2.num));
36853 zval *retval_ptr; local
36857 retval_ptr = EX_VAR(opline->op1.var);
36859 if (IS_CV == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
36861 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
36874 ZVAL_COPY_VALUE(return_value, retval_ptr);
36881 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
36882 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
36883 ZVAL_COPY_VALUE(return_value, retval_ptr);
36885 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
36889 ZVAL_NULL(retval_ptr);
36894 retval_ptr = Z_REFVAL_P(retval_ptr);
36895 ZVAL_COPY(return_value, retval_ptr);
36898 ZVAL_COPY_VALUE(return_value, retval_ptr);
36901 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
36902 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
36904 retval_ptr = Z_REFVAL_P(retval_ptr);
36905 ZVAL_COPY_VALUE(return_value, retval_ptr);
36908 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
36909 Z_ADDREF_P(retval_ptr);
36912 ZVAL_COPY_VALUE(return_value, retval_ptr);
36922 zval *retval_ptr; local
36933 retval_ptr = _get_zval_ptr_cv_BP_VAR_R(opline->op1.var EXECUTE_DATA_CC);
36937 if (IS_CV == IS_VAR && UNEXPECTED(Z_ISREF_P(retval_ptr))) {
36938 ZVAL_COPY_VALUE(EX(return_value), retval_ptr);
36942 ZVAL_NEW_REF(EX(return_value), retval_ptr);
36944 Z_TRY_ADDREF_P(retval_ptr);
36950 retval_ptr = _get_zval_ptr_cv_BP_VAR_W(opline->op1.var EXECUTE_DATA_CC);
36953 if (retval_ptr == &EG(uninitialized_zval) ||
36954 (opline->extended_value == ZEND_RETURNS_FUNCTION && !Z_ISREF_P(retval_ptr))) {
36957 ZVAL_NEW_REF(EX(return_value), retval_ptr);
36966 if (Z_ISREF_P(retval_ptr)) {
36967 Z_ADDREF_P(retval_ptr);
36969 ZVAL_MAKE_REF_EX(retval_ptr, 2);
36971 ZVAL_REF(EX(return_value), Z_REF_P(retval_ptr));
47180 zval *retval_ref, *retval_ptr;
47184 retval_ref = retval_ptr = _get_zval_ptr_cv_BP_VAR_R(opline->op1.var EXECUTE_DATA_CC);
47187 ZVAL_COPY(EX_VAR(opline->result.var), retval_ptr);
47188 retval_ref = retval_ptr = EX_VAR(opline->result.var);
47190 if (UNEXPECTED(Z_TYPE_P(retval_ptr) == IS_INDIRECT)) {
47191 retval_ptr = Z_INDIRECT_P(retval_ptr);
47193 ZVAL_DEREF(retval_ptr);
47195 ZVAL_DEREF(retval_ptr);
47201 && !ZEND_SAME_FAKE_TYPE(ZEND_TYPE_CODE(ret_info->type), Z_TYPE_P(retval_ptr))
47203 && retval_ref != retval_ptr)
47210 ZVAL_COPY(retval_ref, retval_ptr);
47212 retval_ptr = retval_ref;
47214 zend_verify_return_type(EX(func), retval_ptr, CACHE_ADDR(opline->op2.num));
55697 zval *retval_ptr; local
55701 retval_ptr = RT_CONSTANT(opline, opline->op1);
55703 if (IS_CONST == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
55705 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
55718 ZVAL_COPY_VALUE(return_value, retval_ptr);
55725 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
55726 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
55727 ZVAL_COPY_VALUE(return_value, retval_ptr);
55729 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
55733 ZVAL_NULL(retval_ptr);
55738 retval_ptr = Z_REFVAL_P(retval_ptr);
55739 ZVAL_COPY(return_value, retval_ptr);
55742 ZVAL_COPY_VALUE(return_value, retval_ptr);
55745 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
55746 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
55748 retval_ptr = Z_REFVAL_P(retval_ptr);
55749 ZVAL_COPY_VALUE(return_value, retval_ptr);
55752 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
55753 Z_ADDREF_P(retval_ptr);
55756 ZVAL_COPY_VALUE(return_value, retval_ptr);
57315 zval *retval_ptr; local
57319 retval_ptr = _get_zval_ptr_tmp(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
57321 if (IS_TMP_VAR == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
57323 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
57336 ZVAL_COPY_VALUE(return_value, retval_ptr);
57343 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
57344 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
57345 ZVAL_COPY_VALUE(return_value, retval_ptr);
57347 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
57351 ZVAL_NULL(retval_ptr);
57356 retval_ptr = Z_REFVAL_P(retval_ptr);
57357 ZVAL_COPY(return_value, retval_ptr);
57360 ZVAL_COPY_VALUE(return_value, retval_ptr);
57363 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
57364 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
57366 retval_ptr = Z_REFVAL_P(retval_ptr);
57367 ZVAL_COPY_VALUE(return_value, retval_ptr);
57370 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
57371 Z_ADDREF_P(retval_ptr);
57374 ZVAL_COPY_VALUE(return_value, retval_ptr);
57605 zval *retval_ptr; local
57609 retval_ptr = _get_zval_ptr_var(opline->op1.var, &free_op1 EXECUTE_DATA_CC);
57611 if (IS_VAR == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
57613 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
57626 ZVAL_COPY_VALUE(return_value, retval_ptr);
57633 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
57634 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
57635 ZVAL_COPY_VALUE(return_value, retval_ptr);
57637 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
57641 ZVAL_NULL(retval_ptr);
57646 retval_ptr = Z_REFVAL_P(retval_ptr);
57647 ZVAL_COPY(return_value, retval_ptr);
57650 ZVAL_COPY_VALUE(return_value, retval_ptr);
57653 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
57654 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
57656 retval_ptr = Z_REFVAL_P(retval_ptr);
57657 ZVAL_COPY_VALUE(return_value, retval_ptr);
57660 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
57661 Z_ADDREF_P(retval_ptr);
57664 ZVAL_COPY_VALUE(return_value, retval_ptr);
59251 zval *retval_ptr; local
59255 retval_ptr = EX_VAR(opline->op1.var);
59257 if (IS_CV == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(retval_ptr) == IS_UNDEF)) {
59259 retval_ptr = GET_OP1_UNDEF_CV(retval_ptr, BP_VAR_R);
59272 ZVAL_COPY_VALUE(return_value, retval_ptr);
59279 if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
59280 if (EXPECTED(!Z_OPT_ISREF_P(retval_ptr))) {
59281 ZVAL_COPY_VALUE(return_value, retval_ptr);
59283 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
59287 ZVAL_NULL(retval_ptr);
59292 retval_ptr = Z_REFVAL_P(retval_ptr);
59293 ZVAL_COPY(return_value, retval_ptr);
59296 ZVAL_COPY_VALUE(return_value, retval_ptr);
59299 if (UNEXPECTED(Z_ISREF_P(retval_ptr))) {
59300 zend_refcounted *ref = Z_COUNTED_P(retval_ptr);
59302 retval_ptr = Z_REFVAL_P(retval_ptr);
59303 ZVAL_COPY_VALUE(return_value, retval_ptr);
59306 } else if (Z_OPT_REFCOUNTED_P(retval_ptr)) {
59307 Z_ADDREF_P(retval_ptr);
59310 ZVAL_COPY_VALUE(return_value, retval_ptr);