/PHP-8.2/Zend/ |
H A D | zend_closures.c | 33 zend_function func; member 45 zend_function *func = EX(func); in ZEND_METHOD() local 60 efree(func); in ZEND_METHOD() 62 execute_data->func = NULL; in ZEND_METHOD() 70 zend_function *func = &closure->func; in zend_valid_closure_binding() local 429 if (lhs->func.type != rhs->func.type) { in zend_closure_compare() 433 if (lhs->func.common.scope != rhs->func.common.scope) { in zend_closure_compare() 476 return &closure->func; in zend_get_closure_method_def() 549 *fptr_ptr = &closure->func; in zend_closure_get_closure() 724 memcpy(&closure->func, func, sizeof(zend_op_array)); in zend_create_closure_ex() [all …]
|
H A D | zend_execute_API.c | 499 zend_function *func; in get_active_class_name() local 508 func = EG(current_execute_data)->func; in get_active_class_name() 532 zend_function *func; in get_active_function_name() local 538 func = EG(current_execute_data)->func; in get_active_function_name() 570 if (func->common.scope && func->common.function_name) { in get_function_or_method_name() 580 zend_function *func; in get_active_function_arg_name() local 586 func = EG(current_execute_data)->func; in get_active_function_arg_name() 594 if (!func || arg_num == 0 || func->common.num_args < arg_num) { in get_function_arg_name() 622 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename_ex() 642 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_lineno() [all …]
|
H A D | zend_cpuinfo.c | 34 static void __zend_cpuid(uint32_t func, uint32_t subfunc, zend_cpu_info *cpuinfo) { in __zend_cpuid() argument 35 __cpuid_count(func, subfunc, cpuinfo->eax, cpuinfo->ebx, cpuinfo->ecx, cpuinfo->edx); in __zend_cpuid() 38 static void __zend_cpuid(uint32_t func, uint32_t subfunc, zend_cpu_info *cpuinfo) { in __zend_cpuid() argument 47 : "a"(func), "c"(subfunc) in __zend_cpuid() 53 : "a"(func), "c"(subfunc) in __zend_cpuid() 60 static void __zend_cpuid(uint32_t func, uint32_t subfunc, zend_cpu_info *cpuinfo) { in __zend_cpuid() argument 63 __cpuidex(regs, func, subfunc); in __zend_cpuid() 71 static void __zend_cpuid(uint32_t func, uint32_t subfunc, zend_cpu_info *cpuinfo) { in __zend_cpuid() argument
|
/PHP-8.2/Zend/tests/ |
H A D | dynamic_call_006.phpt | 8 $func = 'extract'; 9 $func(['a' => 'b']); 15 $func = 'compact'; 16 $func(['a']); 23 $func(); 29 $func = 'func_get_args'; 30 $func(); 36 $func = 'func_get_arg'; 37 $func(1); 43 $func = 'func_num_args'; [all …]
|
H A D | bug48770.phpt | 7 public function func($arg) { 8 echo "A::func called\n"; 13 public function func($arg) { 14 echo "B::func called\n"; 18 call_user_func_array(array($this, 'parent::func'), array($arg)); 23 public function func($arg) { 24 echo "C::func called\n"; 25 parent::func($str); 34 Deprecated: Callables of the form ["C", "parent::func"] are deprecated in %s on line %d 35 B::func called
|
H A D | bug62069_2.phpt | 7 public function func() { 13 public function func() { 19 public function func() { 23 func as f1; 26 func as f2; 35 …atal error: An alias was defined for method func(), which exists in both T1 and T2. Use T1::func o…
|
H A D | bug62069.phpt | 7 public function func() { 13 public function func() { 19 public function func() { 23 func as f1; 32 …atal error: An alias was defined for method func(), which exists in both T1 and T2. Use T1::func o…
|
H A D | closure_033.phpt | 7 public $func; 9 $this->func = function() { 13 private function func() { 19 $f = $o->func; 21 $o->func(); 28 Fatal error: Uncaught Error: Call to private method Test::func() from global scope in %s:%d
|
H A D | get_defined_functions_basic.phpt | 18 $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"];
|
/PHP-8.2/ext/reflection/tests/ |
H A D | 009.phpt | 15 $func = new ReflectionFunction("test"); 17 echo $func; 19 var_dump($func->getName()); 21 var_dump($func->isInternal()); 23 var_dump($func->isUserDefined()); 25 var_dump($func->getFilename()); 27 var_dump($func->getStartline()); 29 var_dump($func->getEndline()); 31 var_dump($func->getDocComment()); 39 var_dump($func->returnsReference()); [all …]
|
H A D | 025.phpt | 15 $func = new ReflectionFunction("test"); 17 echo $func; 19 var_dump($func->getName()); 21 var_dump($func->isInternal()); 23 var_dump($func->isUserDefined()); 25 var_dump($func->getFilename()); 27 var_dump($func->getStartline()); 29 var_dump($func->getEndline()); 31 var_dump($func->getDocComment()); 39 var_dump($func->returnsReference()); [all …]
|
H A D | bug48757.phpt | 13 $func = new ReflectionFunction('test'); 14 $func->invoke(); 16 $func = new ReflectionFunction('another_test'); 17 $func->invoke('testing');
|
H A D | 010.phpt | 6 function func() { 10 function func() { 13 $m = new ReflectionMethod("Bar::func"); 17 Method [ <user, overwrites Foo, prototype Foo> public method func ] {
|
H A D | parameters_001.phpt | 7 function func($x, $y = NULL){ 12 $f = new ReflectionMethod('Test', 'func'); 16 $p = new ReflectionParameter(array('Test', 'func'), 'x'); 19 $p = new ReflectionParameter(array('Test', 'func'), 'y'); 23 $p = new ReflectionParameter(array('Test', 'func'), 'z'); 29 $p = new ReflectionParameter(array('Test', 'func'), -1);
|
/PHP-8.2/ext/com_dotnet/tests/ |
H A D | bug33386.phpt | 14 public function func1() { echo " func one\n"; } 15 public function func2() { echo " func two\n"; } 26 $oScript->ExecuteStatement ("tfA.func$i"); 27 $oScript->ExecuteStatement ("func$i"); 31 $oScript->ExecuteStatement ("tfB.func$i"); 38 func one 39 func one 40 func two 41 func two 42 func one [all …]
|
/PHP-8.2/Zend/Optimizer/ |
H A D | optimize_func_calls.c | 32 zend_function *func; member 80 if (func->type == ZEND_USER_FUNCTION in zend_try_inline_call() 85 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) { in zend_try_inline_call() 87 zend_op *ret_opline = func->op_array.opcodes + func->op_array.num_args; in zend_try_inline_call() 90 uint32_t i, num_args = func->op_array.num_args; in zend_try_inline_call() 94 && !(func->op_array.fn_flags & ZEND_ACC_STATIC)) { in zend_try_inline_call() 112 …if (Z_TYPE_P(CRT_CONSTANT_EX(&func->op_array, &func->op_array.opcodes[i], func->op_array.opcodes[i… in zend_try_inline_call() 116 } while (i < func->op_array.num_args); in zend_try_inline_call() 139 if (!info->func) { in has_known_send_mode() 146 || arg_num <= info->func->common.num_args in has_known_send_mode() [all …]
|
/PHP-8.2/main/ |
H A D | php_ticks.c | 22 void (*func)(int, void *); member 46 return e1->func == e2->func && e1->arg == e2->arg; in php_compare_tick_functions() 49 PHPAPI void php_add_tick_function(void (*func)(int, void*), void * arg) in php_add_tick_function() 51 struct st_tick_function tmp = {func, arg}; in php_add_tick_function() 55 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg) in php_remove_tick_function() 57 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function() 64 data->func(*((int *)arg), data->arg); in php_tick_iterator()
|
/PHP-8.2/tests/classes/ |
H A D | abstract_user_call.phpt | 8 abstract function func(); 13 function func() 21 $o->func(); 24 call_user_func(array($o, 'test_base::func')); 31 test::func() 33 Deprecated: Callables of the form ["test", "test_base::func"] are deprecated in %s on line %d 34 …(): Argument #1 ($callback) must be a valid callback, cannot call abstract method test_base::func()
|
/PHP-8.2/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 108 func->argc, in pdo_sqlite_cleanup_callbacks() 110 func, in pdo_sqlite_cleanup_callbacks() 115 if (!Z_ISUNDEF(func->func)) { in pdo_sqlite_cleanup_callbacks() 116 zval_ptr_dtor(&func->func); in pdo_sqlite_cleanup_callbacks() 124 efree(func); in pdo_sqlite_cleanup_callbacks() 464 do_callback(&func->afunc, &func->func, argc, argv, context, 0); in php_sqlite3_func_callback() 558 ZVAL_COPY(&func->func, &fci.function_name); in PHP_METHOD() 568 efree(func); in PHP_METHOD() 636 efree(func); in PHP_METHOD() 710 zend_get_gc_buffer_add_zval(gc_buffer, &func->func); in pdo_sqlite_get_gc() [all …]
|
/PHP-8.2/Zend/tests/generators/ |
H A D | bug76427.phpt | 5 $func = function () { 14 $func = $a->func = $func(); 18 unset($func);
|
H A D | aborted_yield_during_nested_fcalls.phpt | 6 function func() {} 9 func(func($x, $x, func($x, yield)));
|
/PHP-8.2/ext/intl/common/ |
H A D | common_date.cpp | 37 const char *func) in timezone_convert_datetimezone() argument 62 "that's too large", func); in timezone_convert_datetimezone() 98 intl_error *err, const char *func) in intl_datetime_decompose() argument 122 "object", func); in intl_datetime_decompose() 140 "initialized", func, ZSTR_VAL(Z_OBJCE_P(z)->name)); in intl_datetime_decompose() 150 datetime, 1, NULL, func); in intl_datetime_decompose() 153 "time zone", func); in intl_datetime_decompose() 186 "which would be required for it to be a valid date", func, in intl_zval_to_millis() 201 intl_datetime_decompose(z, &rv, NULL, err, func); in intl_zval_to_millis() 206 "constructed", func); in intl_zval_to_millis() [all …]
|
/PHP-8.2/Zend/tests/traits/ |
H A D | bug61998.phpt | 7 func as newFunc; 10 public function func() { 16 public function func() { 22 public function func() { 32 func as newFunc; 33 func as func2; 51 $f->func(); //from Foo 55 $b->func(); //from Bar
|
/PHP-8.2/ext/pcntl/ |
H A D | php_signal.c | 24 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) in php_signal4() argument 29 act.sa_sigaction = func; in php_signal4() 31 act.sa_handler = func; in php_signal4() 60 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) in php_signal() argument 62 return php_signal4(signo, func, restart, 0); in php_signal()
|
/PHP-8.2/ext/zend_test/ |
H A D | observer.c | 71 ZEND_ASSERT(!ZEND_USER_CODE(EX(func)->type) || in assert_observer_opline() 72 …(EX(opline) >= EX(func)->op_array.opcodes && EX(opline) < EX(func)->op_array.opcodes + EX(func)->o… in assert_observer_opline() 84 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin() 85 if (execute_data->func->common.scope) { in observer_begin() 134 if (execute_data->func && execute_data->func->common.function_name) { in observer_end() 137 if (execute_data->func->common.scope) { in observer_end() 166 zend_function *fbc = ex->func; in observer_show_init_backtrace() 183 zend_function *fbc = execute_data->func; in observer_fcall_init() 283 zend_function *fbc = execute_data->func; in zend_test_execute_internal() 306 zend_function *func; in ZEND_INI_MH() local [all …]
|