Searched refs:type_hint (Results 1 – 12 of 12) sorted by relevance
/PHP-7.0/Zend/ |
H A D | zend_execute.c | 690 switch (type_hint) { in zend_verify_weak_scalar_type_hint() 763 if (cur_arg_info->type_hint) { in zend_verify_internal_arg_type() 809 if (cur_arg_info->type_hint) { in zend_verify_arg_type() 880 if (cur_arg_info->type_hint) { in zend_verify_missing_arg_type() 967 if (ret_info->type_hint) { in zend_verify_internal_return_type() 980 } else if (ret_info->type_hint == IS_CALLABLE) { in zend_verify_internal_return_type() 985 } else if (ret_info->type_hint == _IS_BOOL && in zend_verify_internal_return_type() 1005 if (ret_info->type_hint) { in zend_verify_return_type() 1045 } else if (ret_info->type_hint == _IS_BOOL && in zend_verify_return_type() 1061 if (ret_info->type_hint) { in zend_verify_missing_return_type() [all …]
|
H A D | zend_inheritance.c | 241 if (fe_arg_info->type_hint != proto_arg_info->type_hint) { in zend_do_perform_type_hint_check() 324 if (proto_arg_info->type_hint && proto_arg_info->allow_null && !fe_arg_info->allow_null) { in zend_do_perform_implementation_check() 378 } else if (arg_info->type_hint) { in zend_append_type_hint() 379 if (arg_info->type_hint == IS_LONG) { in zend_append_type_hint() 381 } else if (arg_info->type_hint == _IS_BOOL) { in zend_append_type_hint() 384 const char *type_name = zend_get_type_by_const(arg_info->type_hint); in zend_append_type_hint() 494 } else if (arg_info->type_hint && arg_info->allow_null) { in zend_get_function_declaration()
|
H A D | zend_compile.h | 303 zend_uchar type_hint; member 313 zend_uchar type_hint; member 327 zend_uchar type_hint; member
|
H A D | zend_compile.c | 1155 zend_get_type_by_const(CG(active_op_array)->arg_info[-1].type_hint)); in zend_mark_function_as_generator() 2060 if (return_info->type_hint != IS_UNDEF) { in zend_emit_return_type_check() 4462 arg_info->type_hint = ast->attr; in zend_compile_typename() 4473 arg_info->type_hint = type; in zend_compile_typename() 4484 arg_info->type_hint = IS_OBJECT; in zend_compile_typename() 4504 arg_infos->type_hint = 0; in zend_compile_params() 4587 arg_info->type_hint = 0; in zend_compile_params() 4603 if (arg_info->type_hint == IS_ARRAY) { in zend_compile_params() 4611 } else if (arg_info->type_hint == IS_CALLABLE && default_ast) { in zend_compile_params() 4622 } else switch (arg_info->type_hint) { in zend_compile_params() [all …]
|
H A D | zend_API.h | 107 #define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null) { #name, NULL, type_hint, pass… argument
|
H A D | zend_API.c | 2196 if (info->type_hint) { in zend_register_functions() 2198 ZEND_ASSERT(info->type_hint == IS_OBJECT); in zend_register_functions() 2258 reg_function->common.arg_info[i].type_hint) { in zend_register_functions()
|
H A D | zend_vm_def.h | 3969 && ret_info->type_hint != IS_CALLABLE 3970 && !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(retval_ptr))
|
H A D | zend_vm_execute.h | 7872 && ret_info->type_hint != IS_CALLABLE 7873 && !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(retval_ptr)) 13775 && ret_info->type_hint != IS_CALLABLE 13776 && !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(retval_ptr)) 19549 && ret_info->type_hint != IS_CALLABLE 19550 && !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(retval_ptr)) 25380 && ret_info->type_hint != IS_CALLABLE 25381 && !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(retval_ptr)) 35013 && ret_info->type_hint != IS_CALLABLE 35014 && !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(retval_ptr))
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result_types.phpt | 20 …i_stmt_get_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset, $type_hint = null) { 85 if ($bind_res !== $bind_value && (!$type_hint || ($type_hint !== gettype($bind_res)))) { 88 gettype($bind_value), $bind_value, $type_hint,
|
H A D | mysqli_stmt_bind_result.phpt | 65 …_stmt_bind_result($link, $engine, $bind_type, $sql_type, $bind_value, $offset, $type_hint = null) { 130 if ($bind_res !== $bind_value && (!$type_hint || ($type_hint !== gettype($bind_res)))) { 133 gettype($bind_value), $bind_value, $type_hint,
|
/PHP-7.0/ext/opcache/Optimizer/ |
H A D | zend_optimizer.c | 473 || ret_info->type_hint == IS_CALLABLE in zend_optimizer_replace_by_const() 474 || !ZEND_SAME_FAKE_TYPE(ret_info->type_hint, Z_TYPE_P(val)) in zend_optimizer_replace_by_const()
|
/PHP-7.0/ext/reflection/ |
H A D | php_reflection.c | 692 } else if (arg_info->type_hint) { in _parameter_string() 693 string_printf(str, "%s ", zend_get_type_by_const(arg_info->type_hint)); in _parameter_string() 922 } else if (fptr->common.arg_info[-1].type_hint) { in _function_string() 923 string_printf(str, "%s ", zend_get_type_by_const(fptr->common.arg_info[-1].type_hint)); in _function_string() 2696 RETVAL_BOOL(param->arg_info->type_hint != 0); in ZEND_METHOD() 2714 ((zend_internal_arg_info*)param->arg_info)->type_hint : in ZEND_METHOD() 2715 param->arg_info->type_hint) == 0) in ZEND_METHOD() 2735 RETVAL_BOOL(param->arg_info->type_hint == IS_ARRAY); in ZEND_METHOD() 2751 RETVAL_BOOL(param->arg_info->type_hint == IS_CALLABLE); in ZEND_METHOD() 2988 RETVAL_BOOL(param->arg_info->type_hint != IS_OBJECT); in ZEND_METHOD() [all …]
|
Completed in 229 milliseconds