/php-src/Zend/ |
H A D | zend_execute.h | 256 ZEND_ASSERT(!func->common.scope || object_or_called_scope); in zend_vm_init_call_frame() 257 call->func = func; in zend_vm_init_call_frame() 283 uint32_t used_stack = ZEND_CALL_FRAME_SLOT + num_args + func->common.T; in zend_vm_calc_used_stack() 285 if (EXPECTED(ZEND_USER_CODE(func->type))) { in zend_vm_calc_used_stack() 286 used_stack += func->op_array.last_var - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack() 293 uint32_t used_stack = zend_vm_calc_used_stack(num_args, func); in zend_vm_stack_push_call_frame() 296 func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame() 303 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() 379 zend_function *func = EG(current_execute_data)->func; in zend_active_function() local 380 if (ZEND_USER_CODE(func->type)) { in zend_active_function() [all …]
|
H A D | zend_attributes.h | 97 static zend_always_inline zend_attribute *zend_add_function_attribute(zend_function *func, zend_str… in zend_add_function_attribute() argument 99 uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_function_attribute() 100 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute() 103 static zend_always_inline zend_attribute *zend_add_parameter_attribute(zend_function *func, uint32_… in zend_add_parameter_attribute() argument 105 uint32_t flags = func->common.type != ZEND_USER_FUNCTION ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_parameter_attribute() 106 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
|
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-src/ext/pdo/ |
H A D | pdo_dbh.c | 1284 efree(func); in cls_method_dtor() 1296 pefree(func, 1); in cls_method_pdtor() 1304 zend_internal_function func; in pdo_hash_methods() local 1321 memset(&func, 0, sizeof(func)); in pdo_hash_methods() 1329 func.prototype = NULL; in pdo_hash_methods() 1337 func.doc_comment = NULL; in pdo_hash_methods() 1354 func.num_args--; in pdo_hash_methods() 1357 func.arg_info = NULL; in pdo_hash_methods() 1358 func.num_args = 0; in pdo_hash_methods() 1359 func.required_num_args = 0; in pdo_hash_methods() [all …]
|
/php-src/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-src/Zend/tests/ |
H A D | is_callable_trampoline_uaf-deprecated.phpt | 8 public function bar($func) { 12 public function __call($func, $args) { 17 public static function __callStatic($func, $args) {
|
H A D | closure_023.phpt | 7 $func = function() { echo "Done"; }; 8 $func();
|
H A D | bug48770_2.phpt | 7 public function func($str) { 22 public function func($str) { 47 public function func($str) { 48 parent::func($str); 53 $c->func('This should work!');
|
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);
|
/php-src/ext/pcntl/ |
H A D | php_signal.h | 26 Sigfunc *php_signal(int signo, Sigfunc *func, int restart); 27 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all);
|
/php-src/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-src/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-src/ext/opcache/tests/ |
H A D | preload_dynamic_def_removal.inc | 10 function func() { 18 func();
|
/php-src/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-src/Zend/tests/type_declarations/variance/ |
H A D | trait_success.phpt | 15 abstract public function func(): ?InterfaceA; 19 public function func(): ?InterfaceB {}
|
/php-src/ext/standard/tests/array/ |
H A D | bug34982.phpt | 10 func($ar); 13 function func($a) {
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 126 zval retval, func, args[2]; in opcache_invalidate() local 127 ZVAL_STRING(&func, "opcache_invalidate"); in opcache_invalidate() 130 call_user_function(CG(function_table), NULL, &func, &retval, 2, args); in opcache_invalidate() 134 zval_ptr_dtor(&func); in opcache_invalidate()
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug76815.phpt | 17 $func = 'bug76815_pdo_mysql_f'; 20 $pdo->query("CREATE FUNCTION {$func}() RETURNS VARCHAR(5) DETERMINISTIC BEGIN RETURN 'x12345'; END"… 21 $pdo->query("CREATE PROCEDURE {$procedure}() BEGIN SELECT {$func}(); END");
|
/php-src/ext/reflection/tests/ |
H A D | bug63614.phpt | 13 public function func() 23 $reflect = new ReflectionMethod('Test', 'func');
|