Home
last modified time | relevance | path

Searched refs:func (Results 26 – 50 of 302) sorted by relevance

12345678910>>...13

/PHP-8.1/Zend/tests/
H A Dget_defined_functions_basic.phpt18 $func = get_defined_functions();
20 if (!is_array($func)) {
25 if (!is_array($func["internal"])) {
29 $internal = $func["internal"];
37 if (!is_array($func["user"])) {
41 $user = $func["user"];
H A Ddynamic_call_005.phpt6 function test_calls($func) {
10 array_map($func, [['i' => new stdClass]]);
17 $func(['i' => new stdClass]);
24 call_user_func($func, ['i' => new stdClass]);
H A Dbug48770_3.phpt7 public function func($str) {
19 public function func($str) {
38 public function func($str) {
39 parent::func($str);
44 $c->func('This should work!');
H A Dns_trailing_comma_02.phpt11 echo "Bar func 1\n";
14 echo "Bar func 2\n";
49 Bar func 1
50 Bar func 2
H A Dis_callable_trampoline_uaf.phpt8 public function bar($func) {
12 public function __call($func, $args) {
17 public static function __callStatic($func, $args) {
H A Dbug48770_2.phpt7 public function func($str) {
22 public function func($str) {
47 public function func($str) {
48 parent::func($str);
53 $c->func('This should work!');
/PHP-8.1/ext/intl/tests/
H A Dbadargs.phpt11 foreach($funcs as $func) {
12 $rfunc = new ReflectionFunction($func);
18 $res = $func($arg);
25 echo "$func: ";
/PHP-8.1/Zend/
H A Dzend_portability.h534 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3"))) argument
536 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) func argument
559 # define ZEND_INTRIN_SSE4_2_FUNC_DECL(func) ZEND_API func __attribute__((target("sse4.2"))) argument
561 # define ZEND_INTRIN_SSE4_2_FUNC_DECL(func) func argument
585 # define ZEND_INTRIN_PCLMUL_FUNC_DECL(func) ZEND_API func __attribute__((target("pclmul"))) argument
587 # define ZEND_INTRIN_PCLMUL_FUNC_DECL(func) func argument
611 # define ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_DECL(func) ZEND_API func __attribute__((target("sse4.2,pcl… argument
613 # define ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_DECL(func) func argument
634 # define ZEND_INTRIN_AVX2_FUNC_DECL(func) ZEND_API func __attribute__((target("avx2"))) argument
636 # define ZEND_INTRIN_AVX2_FUNC_DECL(func) func argument
[all …]
H A Dzend_ptr_stack.c80 ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_apply()
85 func(stack->elements[i]); in zend_ptr_stack_apply()
89 ZEND_API void zend_ptr_stack_reverse_apply(zend_ptr_stack *stack, void (*func)(void *)) in zend_ptr_stack_reverse_apply()
94 func(stack->elements[i++]); in zend_ptr_stack_reverse_apply()
99 ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), bool free_elements) in zend_ptr_stack_clean()
101 zend_ptr_stack_apply(stack, func); in zend_ptr_stack_clean()
H A Dzend_vm_trace_lines.h29 if (EX(func) && EX(func)->op_array.filename) { in zend_vm_trace()
30 fprintf(vm_trace_file, "%s:%d\n", ZSTR_VAL(EX(func)->op_array.filename), opline->lineno); in zend_vm_trace()
H A Dzend_builtin_functions.c258 p = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T); in ZEND_FUNCTION()
863 zend_function *func; in ZEND_FUNCTION() local
885 if (func) { in ZEND_FUNCTION()
896 if (func != NULL) { in ZEND_FUNCTION()
1296 zend_function *func; in ZEND_FUNCTION() local
1646 zend_function *func; in zend_fetch_debug_backtrace() local
1682 if (prev && prev->func && ZEND_USER_CODE(prev->func->common.type)) { in zend_fetch_debug_backtrace()
1708 prev_call->func && in zend_fetch_debug_backtrace()
1715 if (prev && prev->func && ZEND_USER_CODE(prev->func->common.type)) { in zend_fetch_debug_backtrace()
1727 func = call->func; in zend_fetch_debug_backtrace()
[all …]
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c177 zend_function *fbc = call->func; in zend_jit_deprecated_helper()
459 zend_function *func; in zend_jit_trace_record_fake_init_call_ex() local
469 func = call->func; in zend_jit_trace_record_fake_init_call_ex()
492 || func->common.scope)) { in zend_jit_trace_record_fake_init_call_ex()
493 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
978 && EX(func) == EX(prev_execute_data)->func
1002 zend_function *func; local
1014 func = EX(call)->func;
1039 func = NULL;
1043 func = NULL;
[all …]
/PHP-8.1/ext/sqlite3/tests/
H A Dsqlite3_29_createfunction.phpt10 $func = 'strtoupper';
11 var_dump($db->createfunction($func, $func));
18 var_dump($db->createfunction($func, $func2));
H A Dsqlite3_37_createfunction_flags.phpt14 $func = 'strtoupper';
15 var_dump($db->createfunction($func, $func, 1, SQLITE3_DETERMINISTIC));
22 var_dump($db->createfunction($func, $func2, 1, SQLITE3_DETERMINISTIC));
/PHP-8.1/ext/reflection/tests/
H A DReflectionFunction_getClosure_basic.phpt17 $func = new ReflectionFunction( 'foo' );
18 $closure = $func->getClosure();
21 $func = new ReflectionFunction( 'bar' );
22 $closure = $func->getClosure();
H A Dbug49092.phpt6 function func(){}
7 new \ReflectionFunction('ns\func');
8 new \ReflectionFunction('\ns\func');
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_frame.c29 const zend_arg_info *arginfo = func->common.arg_info; in ZEND_EXTERN_MODULE_GLOBALS()
35 if (i < func->common.num_args) { in ZEND_EXTERN_MODULE_GLOBALS()
37 if (func->type == ZEND_INTERNAL_FUNCTION) { in ZEND_EXTERN_MODULE_GLOBALS()
55 zend_op_array *op_array = &ex->func->op_array; in phpdbg_compile_stackframe()
67 phpdbg_append_individual_arg(&s, i, ex->func, p); in phpdbg_compile_stackframe()
74 phpdbg_append_individual_arg(&s, i, ex->func, p); in phpdbg_compile_stackframe()
80 if (ex->func->type == ZEND_USER_FUNCTION) { in phpdbg_compile_stackframe()
194 const zend_function *func = NULL; in phpdbg_dump_prototype() local
202 arginfo = func->common.arg_info; in phpdbg_dump_prototype()
206 m = func ? func->common.num_args : 0; in phpdbg_dump_prototype()
[all …]
H A Dphpdbg_print.c182 PHPDBG_PRINT(func) /* {{{ */ in PHPDBG_PRINT() argument
238 zend_function *func = zend_hash_str_find_ptr(EG(function_table), function, len); in phpdbg_print_opcodes_function() local
240 if (!func) { in phpdbg_print_opcodes_function()
245 phpdbg_print_function_helper(func); in phpdbg_print_opcodes_function()
249 zend_function *func; in phpdbg_print_opcodes_method_ce() local
256 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce()
261 phpdbg_print_function_helper(func); in phpdbg_print_opcodes_method_ce()
330 zend_function *func; in phpdbg_print_opcodes() local
335 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), name, func) { in phpdbg_print_opcodes()
336 if (func->type == ZEND_USER_FUNCTION) { in phpdbg_print_opcodes()
[all …]
/PHP-8.1/ext/intl/common/
H A Dcommon_date.h31 …datetimezone(int type, void *object, int is_datetime, intl_error *outside_error, const char *func);
33 intl_error *err, const char *func);
37 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func);
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_debug_mysqlnd_control_string.phpt155 foreach ($functions_all_funcs as $func) {
157 $test_functions['simple'][$func] = $func;
159 $test_functions['doubledot'][$func] = $func;
163 if ($func = reset($test_functions['simple']))
167 if ($func = next($test_functions['simple']))
169 if ($func = next($test_functions['doubledot']))
182 foreach ($test_functions['simple'] as $func)
183 if (isset($functions_trace[$func])) {
184 unset($functions_trace[$func]);
189 if (isset($functions_trace[$func])) {
[all …]
/PHP-8.1/ext/zend_test/
H A Dobserver.c76 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin()
77 if (execute_data->func->common.scope) { in observer_begin()
78 …erver_nesting_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), ZSTR_VAL(execute_data-… in observer_begin()
80 …php_printf("%*s<%s>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.… in observer_begin()
83 …php_printf("%*s<file '%s'>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->… in observer_begin()
124 if (execute_data->func && execute_data->func->common.function_name) { in observer_end()
127 if (execute_data->func->common.scope) { in observer_end()
128 …erver_nesting_depth), "", ZSTR_VAL(execute_data->func->common.scope->name), ZSTR_VAL(execute_data-… in observer_end()
156 zend_function *fbc = ex->func; in observer_show_init_backtrace()
173 zend_function *fbc = execute_data->func; in observer_fcall_init()
[all …]
/PHP-8.1/ext/standard/tests/general_functions/
H A Dis_callable_basic1.phpt7 foreach($functions as $func) {
9 var_dump( is_callable($func) ); //given only $var argument
10 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument
11 var_dump( is_callable($func, TRUE, $callable_name) );
13 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument
14 var_dump( is_callable($func, FALSE, $callable_name) );
H A Dcall_user_func_return.phpt24 function test($func)
26 var_dump($func('Direct', 'Call'));
27 var_dump(call_user_func_array($func, array('User', 'Func')));
/PHP-8.1/ext/com_dotnet/
H A Dcom_typeinfo.c476 FUNCDESC *func; in php_com_process_typeinfo() local
521 isprop = (func->invkind & DISPATCH_PROPERTYGET || func->invkind & DISPATCH_PROPERTYPUT); in php_com_process_typeinfo()
523 if (!isprop || lastid != func->memid) { in php_com_process_typeinfo()
525 lastid = func->memid; in php_com_process_typeinfo()
540 ITypeInfo_GetNames(typeinfo, func->memid, names, func->cParams + 1, &cnames); in php_com_process_typeinfo()
546 if (func->elemdescFunc.tdesc.vt != VT_VOID) { in php_com_process_typeinfo()
548 vt_to_string(func->elemdescFunc.tdesc.vt), in php_com_process_typeinfo()
549 func->elemdescFunc.tdesc.vt in php_com_process_typeinfo()
570 for (j = 0; j < func->cParams; j++) { in php_com_process_typeinfo()
599 j == func->cParams - 1 ? ' ' : ',' in php_com_process_typeinfo()
[all …]
/PHP-8.1/ext/pcntl/
H A Dphp_signal.h26 Sigfunc *php_signal(int signo, Sigfunc *func, int restart);
27 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);

Completed in 89 milliseconds

12345678910>>...13