Lines Matching refs:func_ptr
367 zend_function *func_ptr; member
379 if (alfi->func_ptr && in autoload_func_info_dtor()
380 UNEXPECTED(alfi->func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in autoload_func_info_dtor()
381 zend_string_release(alfi->func_ptr->common.function_name); in autoload_func_info_dtor()
382 zend_free_trampoline(alfi->func_ptr); in autoload_func_info_dtor()
426 func = alfi->func_ptr; in PHP_FUNCTION()
429 memcpy(func, alfi->func_ptr, sizeof(zend_op_array)); in PHP_FUNCTION()
501 alfi.func_ptr = fcc.function_handler; in PHP_FUNCTION()
504 if (!obj_ptr && alfi.func_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
514 …gicException, 0, "Passed array does not specify %s %smethod (%s)", alfi.func_ptr ? "a callable" : … in PHP_FUNCTION()
523 …gicException, 0, "Function '%s' not %s (%s)", ZSTR_VAL(func_name), alfi.func_ptr ? "callable" : "f… in PHP_FUNCTION()
552 alfi.func_ptr = fcc.function_handler; in PHP_FUNCTION()
585 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
606 spl_alfi.func_ptr = spl_func_ptr; in PHP_FUNCTION()
618 if (UNEXPECTED(alfi.func_ptr == &EG(trampoline))) { in PHP_FUNCTION()
621 memcpy(copy, alfi.func_ptr, sizeof(zend_op_array)); in PHP_FUNCTION()
622 alfi.func_ptr->common.function_name = NULL; in PHP_FUNCTION()
623 alfi.func_ptr = copy; in PHP_FUNCTION()
626 if (obj_ptr && !(alfi.func_ptr->common.fn_flags & ZEND_ACC_STATIC)) { in PHP_FUNCTION()
632 if (UNEXPECTED(alfi.func_ptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) { in PHP_FUNCTION()
633 zend_string_release(alfi.func_ptr->common.function_name); in PHP_FUNCTION()
634 zend_free_trampoline(alfi.func_ptr); in PHP_FUNCTION()
768 } else if (alfi->func_ptr->common.scope) { in PHP_FUNCTION()
778 add_next_index_str(&tmp, zend_string_copy(alfi->func_ptr->common.function_name)); in PHP_FUNCTION()
781 …if (strncmp(ZSTR_VAL(alfi->func_ptr->common.function_name), "__lambda_func", sizeof("__lambda_func… in PHP_FUNCTION()
782 add_next_index_str(return_value, zend_string_copy(alfi->func_ptr->common.function_name)); in PHP_FUNCTION()