Home
last modified time | relevance | path

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

1234567891011

/PHP-7.4/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.phpt13 $func = 'strtoupper';
14 var_dump($db->createfunction($func, $func, 1, SQLITE3_DETERMINISTIC));
21 var_dump($db->createfunction($func, $func2, 1, SQLITE3_DETERMINISTIC));
/PHP-7.4/Zend/
H A Dzend_builtin_functions.c1373 if (func) { in ZEND_FUNCTION()
1535 RETURN_BOOL(func && (func->type != ZEND_INTERNAL_FUNCTION || in ZEND_FUNCTION()
1900 if (!func) { in ZEND_FUNCTION()
2250 if (skip->func && ZEND_USER_CODE(skip->func->common.type)) { in ZEND_FUNCTION()
2272 func = call->func; in ZEND_FUNCTION()
2284 func = NULL; in ZEND_FUNCTION()
2416 if (!ptr->func || !ZEND_USER_CODE(ptr->func->common.type)) { in zend_fetch_debug_backtrace()
2451 if (skip->func && ZEND_USER_CODE(skip->func->common.type)) { in zend_fetch_debug_backtrace()
2498 func = call->func; in zend_fetch_debug_backtrace()
2502 (object ? object->ce : func->common.scope), func) : in zend_fetch_debug_backtrace()
[all …]
H A Dzend_execute.h185 call->func = func; in zend_vm_init_call_frame()
200 …zend_vm_init_call_frame(call, call_info | ZEND_CALL_ALLOCATED, func, num_args, object_or_called_sc… in zend_vm_stack_push_call_frame_ex()
204 zend_vm_init_call_frame(call, call_info, func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame_ex()
209 static zend_always_inline uint32_t zend_vm_calc_used_stack(uint32_t num_args, zend_function *func) in zend_vm_calc_used_stack() argument
213 if (EXPECTED(ZEND_USER_CODE(func->type))) { in zend_vm_calc_used_stack()
214 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack()
219 …te_data *zend_vm_stack_push_call_frame(uint32_t call_info, zend_function *func, uint32_t num_args,… in zend_vm_stack_push_call_frame() argument
221 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame()
224 func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame()
230 uint32_t count = ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args; in zend_vm_stack_free_extra_args_ex()
[all …]
/PHP-7.4/Zend/tests/
H A Ddynamic_call_005.phpt6 function test_calls($func) {
9 array_map($func, [['i' => new stdClass]]);
12 $func(['i' => new stdClass]);
15 call_user_func($func, ['i' => new stdClass]);
H A Dget_defined_functions_basic.phpt23 $func = get_defined_functions();
25 if (!is_array($func)) {
30 if (!is_array($func["internal"])) {
34 $internal = $func["internal"];
42 if (!is_array($func["user"])) {
46 $user = $func["user"];
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 Dbug48770_3.phpt9 public function func($str) {
24 public function func($str) {
38 public function func($str) {
39 parent::func($str);
44 $c->func('This should work!');
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.phpt9 public function func($str) {
24 public function func($str) {
39 public function func($str) {
40 parent::func($str);
45 $c->func('This should work!');
H A Dclosure_023.phpt7 $func = function() { echo "Done"; };
8 $func();
H A Dfe_fetch_op2_live_range.phpt6 foreach (["test"] as $k => func()[]) {}
12 Call to undefined function func()
/PHP-7.4/ext/reflection/tests/
H A Dbug49092.phpt6 function func(){}
7 new \ReflectionFunction('ns\func');
8 new \ReflectionFunction('\ns\func');
H A DReflectionFunction_getClosure_basic.phpt23 $func = new ReflectionFunction( 'foo' );
24 $closure = $func->getClosure();
27 $func = new ReflectionFunction( 'bar' );
28 $closure = $func->getClosure();
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_print.c211 PHPDBG_PRINT(func) /* {{{ */ in PHPDBG_PRINT() argument
270 if (!func) { in phpdbg_print_opcodes_function()
272 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, func) { in phpdbg_print_opcodes_function()
274 …if (func->op_array.function_name->len == len && !zend_binary_strcasecmp(function, len, func->op_ar… in phpdbg_print_opcodes_function()
283 …phpdbg_out("function name: %.*s\n", (int) ZSTR_LEN(func->op_array.function_name), ZSTR_VAL(func->o… in phpdbg_print_opcodes_function()
284 phpdbg_print_function_helper(func); in phpdbg_print_opcodes_function()
288 zend_function *func; in phpdbg_print_opcodes_method_ce() local
300 phpdbg_print_function_helper(func); in phpdbg_print_opcodes_method_ce()
387 zend_function *func; in phpdbg_print_opcodes() local
392 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), name, func) { in phpdbg_print_opcodes()
[all …]
H A Dphpdbg_frame.c31 const zend_arg_info *arginfo = func->common.arg_info; in ZEND_EXTERN_MODULE_GLOBALS()
37 if (i < func->common.num_args) { in ZEND_EXTERN_MODULE_GLOBALS()
39 if (func->type == ZEND_INTERNAL_FUNCTION) { in ZEND_EXTERN_MODULE_GLOBALS()
57 zend_op_array *op_array = &ex->func->op_array; in phpdbg_compile_stackframe()
69 phpdbg_append_individual_arg(&s, i, ex->func, p); in phpdbg_compile_stackframe()
76 phpdbg_append_individual_arg(&s, i, ex->func, p); in phpdbg_compile_stackframe()
82 if (ex->func->type == ZEND_USER_FUNCTION) { in phpdbg_compile_stackframe()
203 const zend_function *func = NULL; in phpdbg_dump_prototype() local
211 arginfo = func->common.arg_info; in phpdbg_dump_prototype()
215 m = func ? func->common.num_args : 0; in phpdbg_dump_prototype()
[all …]
/PHP-7.4/ext/intl/common/
H A Dcommon_date.h33 …datetimezone(int type, void *object, int is_datetime, intl_error *outside_error, const char *func);
35 intl_error *err, const char *func);
39 U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func);
/PHP-7.4/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-7.4/ext/com_dotnet/
H A Dcom_typeinfo.c481 FUNCDESC *func; in php_com_process_typeinfo() local
526 isprop = (func->invkind & DISPATCH_PROPERTYGET || func->invkind & DISPATCH_PROPERTYPUT); in php_com_process_typeinfo()
528 if (!isprop || lastid != func->memid) { in php_com_process_typeinfo()
530 lastid = func->memid; in php_com_process_typeinfo()
545 ITypeInfo_GetNames(typeinfo, func->memid, names, func->cParams + 1, &cnames); in php_com_process_typeinfo()
551 if (func->elemdescFunc.tdesc.vt != VT_VOID) { in php_com_process_typeinfo()
553 vt_to_string(func->elemdescFunc.tdesc.vt), in php_com_process_typeinfo()
554 func->elemdescFunc.tdesc.vt in php_com_process_typeinfo()
575 for (j = 0; j < func->cParams; j++) { in php_com_process_typeinfo()
604 j == func->cParams - 1 ? ' ' : ',' in php_com_process_typeinfo()
[all …]
/PHP-7.4/main/
H A Dphp_ticks.h28 PHPAPI void php_add_tick_function(void (*func)(int, void *), void *arg);
29 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg);
/PHP-7.4/ext/pcntl/
H A Dphp_signal.h28 Sigfunc *php_signal(int signo, Sigfunc *func, int restart);
29 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
/PHP-7.4/ext/standard/tests/general_functions/
H A Dcall_user_func_return.phpt24 function test($func)
26 debug_zval_dump($func('Direct', 'Call'));
27 debug_zval_dump(call_user_func_array($func, array('User', 'Func')));
H A Dis_callable_basic1.phpt16 foreach($functions as $func) {
18 var_dump( is_callable($func) ); //given only $var argument
19 var_dump( is_callable($func, TRUE) ); //given $var and $syntax argument
20 var_dump( is_callable($func, TRUE, $callable_name) );
22 var_dump( is_callable($func, FALSE) ); //given $var and $syntax argument
23 var_dump( is_callable($func, FALSE, $callable_name) );
/PHP-7.4/ext/standard/tests/strings/
H A Dbug37262.phpt5 $func = create_function('$a', 'return $a;');
6 var_export($func);
/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_call_graph.c53 … zend_foreach_op_array(zend_call_graph *call_graph, zend_script *script, zend_op_array_func_t func) in zend_foreach_op_array() argument
59 if (func(call_graph, &script->main_op_array) != SUCCESS) { in zend_foreach_op_array()
64 if (func(call_graph, op_array) != SUCCESS) { in zend_foreach_op_array()
77 if (func(call_graph, op_array) != SUCCESS) { in zend_foreach_op_array()
91 zend_function *func; in zend_analyze_calls() local
105 func = zend_optimizer_get_called_func( in zend_analyze_calls()
107 if (func) { in zend_analyze_calls()
112 call_info->callee_func = func; in zend_analyze_calls()
119 } else if (func->type == ZEND_INTERNAL_FUNCTION) { in zend_analyze_calls()
122 zend_func_info *callee_func_info = ZEND_FUNC_INFO(&func->op_array); in zend_analyze_calls()

Completed in 131 milliseconds

1234567891011