/PHP-8.1/main/ |
H A D | php_ticks.h | 26 PHPAPI void php_add_tick_function(void (*func)(int, void *), void *arg); 27 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg);
|
/PHP-8.1/Zend/ |
H A D | zend_attributes.h | 92 static zend_always_inline zend_attribute *zend_add_function_attribute(zend_function *func, zend_str… in zend_add_function_attribute() argument 94 uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_function_attribute() 95 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute() 98 static zend_always_inline zend_attribute *zend_add_parameter_attribute(zend_function *func, uint32_… in zend_add_parameter_attribute() argument 100 uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_parameter_attribute() 101 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
|
H A D | zend_execute.h | 223 ZEND_ASSERT(!func->common.scope || object_or_called_scope); in zend_vm_init_call_frame() 224 call->func = func; in zend_vm_init_call_frame() 243 zend_vm_init_call_frame(call, call_info, func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame_ex() 252 if (EXPECTED(ZEND_USER_CODE(func->type))) { in zend_vm_calc_used_stack() 253 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() 260 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame() 263 func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame() 269 uint32_t count = ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args; in zend_vm_stack_free_extra_args_ex() 270 zval *p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in zend_vm_stack_free_extra_args_ex() 341 ZEND_API const char *get_function_arg_name(const zend_function *func, uint32_t arg_num); [all …]
|
H A D | zend_llist.h | 56 ZEND_API void zend_llist_apply(zend_llist *l, llist_apply_func_t func); 57 ZEND_API void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data)); 58 ZEND_API void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void … 59 ZEND_API void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func, int…
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_ps_codec.c | 361 mysqlnd_ps_fetch_functions[MYSQL_TYPE_NULL].func = ps_fetch_null; in _mysqlnd_init_ps_fetch_subsystem() 365 mysqlnd_ps_fetch_functions[MYSQL_TYPE_TINY].func = ps_fetch_int8; in _mysqlnd_init_ps_fetch_subsystem() 369 mysqlnd_ps_fetch_functions[MYSQL_TYPE_SHORT].func = ps_fetch_int16; in _mysqlnd_init_ps_fetch_subsystem() 373 mysqlnd_ps_fetch_functions[MYSQL_TYPE_YEAR].func = ps_fetch_int16; in _mysqlnd_init_ps_fetch_subsystem() 377 mysqlnd_ps_fetch_functions[MYSQL_TYPE_INT24].func = ps_fetch_int32; in _mysqlnd_init_ps_fetch_subsystem() 381 mysqlnd_ps_fetch_functions[MYSQL_TYPE_LONG].func = ps_fetch_int32; in _mysqlnd_init_ps_fetch_subsystem() 389 mysqlnd_ps_fetch_functions[MYSQL_TYPE_FLOAT].func = ps_fetch_float; in _mysqlnd_init_ps_fetch_subsystem() 397 mysqlnd_ps_fetch_functions[MYSQL_TYPE_TIME].func = ps_fetch_time; in _mysqlnd_init_ps_fetch_subsystem() 401 mysqlnd_ps_fetch_functions[MYSQL_TYPE_DATE].func = ps_fetch_date; in _mysqlnd_init_ps_fetch_subsystem() 417 mysqlnd_ps_fetch_functions[MYSQL_TYPE_JSON].func = ps_fetch_string; in _mysqlnd_init_ps_fetch_subsystem() [all …]
|
/PHP-8.1/ext/opcache/tests/ |
H A D | preload_dynamic_def_removal.inc | 10 function func() { 18 func();
|
/PHP-8.1/ext/standard/tests/general_functions/ |
H A D | is_callable_variation2.phpt | 7 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 D | is_callable_variation1.phpt | 7 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) );
|
/PHP-8.1/Zend/tests/ |
H A D | closure_023.phpt | 7 $func = function() { echo "Done"; }; 8 $func();
|
H A D | gh8083.phpt | 6 function func() { 10 $x = func(...);
|
H A D | fe_fetch_op2_live_range.phpt | 6 foreach (["test"] as $k => func()[]) {} 12 Call to undefined function func()
|
H A D | call_user_func_array_invalid_type.phpt | 6 function func() { 12 call_user_func_array(array($drv, 'func'), null);
|
H A D | bug48409.phpt | 29 public function func() 41 } // end func(); 49 $x->func();
|
H A D | magic_by_ref_006.phpt | 11 $func = "foo"; 13 $t->$func();
|
H A D | assign_ref_func_leak.phpt | 6 function func() { 10 $x = $y =& func();
|
H A D | magic_by_ref_007.phpt | 11 $func = "foo"; 14 $t->$func($arg);
|
H A D | func_sig_trailing_comma.phpt | 26 $func = function( 35 $func = fn(
|
/PHP-8.1/ext/intl/timezone/ |
H A D | timezone_class.cpp | 63 const char *func, zval *ret) in timezone_convert_to_datetimezone() argument 72 spprintf(&message, 0, "%s: could not obtain TimeZone id", func); in timezone_convert_to_datetimezone() 93 spprintf(&message, 0, "%s: could not convert id to UTF-8", func); in timezone_convert_to_datetimezone() 103 "%s: DateTimeZone constructor threw exception", func); in timezone_convert_to_datetimezone() 132 const char *func) in timezone_process_timezone_argument() argument 151 "properly constructed", func); in timezone_process_timezone_argument() 161 spprintf(&message, 0, "%s: could not clone TimeZone", func); in timezone_process_timezone_argument() 176 outside_error, func); in timezone_process_timezone_argument() 187 "valid UTF-8 string", func); in timezone_process_timezone_argument() 197 spprintf(&message, 0, "%s: Could not create time zone", func); in timezone_process_timezone_argument() [all …]
|
/PHP-8.1/Zend/tests/type_declarations/variance/ |
H A D | trait_success.phpt | 15 abstract public function func(): ?InterfaceA; 19 public function func(): ?InterfaceB {}
|
/PHP-8.1/ext/standard/tests/array/ |
H A D | bug34982.phpt | 10 func($ar); 13 function func($a) {
|
/PHP-8.1/ext/standard/tests/ |
H A D | bug75220.phpt | 12 function bar($func) 19 function __call($func, $args)
|
/PHP-8.1/ext/sqlite3/ |
H A D | sqlite3.c | 873 sqlite3_do_callback(&func->afunc, &func->func, argc, argv, context, 0); in php_sqlite3_callback_func() 970 func = (php_sqlite3_func *)ecalloc(1, sizeof(*func)); in PHP_METHOD() 975 ZVAL_COPY(&func->func, &fci.function_name); in PHP_METHOD() 983 efree(func); in PHP_METHOD() 1012 func = (php_sqlite3_func *)ecalloc(1, sizeof(*func)); in PHP_METHOD() 1026 efree(func); in PHP_METHOD() 2163 if (!Z_ISUNDEF(func->func)) { in php_sqlite3_object_free_storage() 2164 zval_ptr_dtor(&func->func); in php_sqlite3_object_free_storage() 2172 efree(func); in php_sqlite3_object_free_storage() 2211 zend_get_gc_buffer_add_zval(gc_buffer, &func->func); in php_sqlite3_get_gc() [all …]
|
/PHP-8.1/ext/reflection/tests/ |
H A D | bug63614.phpt | 13 public function func() 23 $reflect = new ReflectionMethod('Test', 'func');
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug61697.phpt | 14 foreach (spl_autoload_functions() AS $func) 16 spl_autoload_unregister($func);
|
/PHP-8.1/ext/soap/tests/bugs/ |
H A D | bug29830.phpt | 20 foreach($functions as $func) { 21 echo $func . "\n";
|