Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/php-src/Zend/
H A Dzend_closures.c33 zend_function func; member
45 zend_function *func = EX(func); in ZEND_METHOD() local
60 efree(func); in ZEND_METHOD()
68 execute_data->func = NULL; in ZEND_METHOD()
75 zend_function *func = &closure->func; in zend_valid_closure_binding() local
446 if (lhs->func.type != rhs->func.type) { in zend_closure_compare()
450 if (lhs->func.common.scope != rhs->func.common.scope) { in zend_closure_compare()
494 return &closure->func; in zend_get_closure_method_def()
566 *fptr_ptr = &closure->func; in zend_closure_get_closure()
747 memcpy(&closure->func, func, sizeof(zend_op_array)); in zend_create_closure_ex()
[all …]
H A Dzend_portability.h570 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3"))) argument
572 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) func argument
595 # define ZEND_INTRIN_SSE4_2_FUNC_DECL(func) ZEND_API func __attribute__((target("sse4.2"))) argument
597 # define ZEND_INTRIN_SSE4_2_FUNC_DECL(func) func argument
621 # define ZEND_INTRIN_PCLMUL_FUNC_DECL(func) ZEND_API func __attribute__((target("pclmul"))) argument
623 # define ZEND_INTRIN_PCLMUL_FUNC_DECL(func) func argument
649 # define ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_DECL(func) func argument
670 # define ZEND_INTRIN_AVX2_FUNC_DECL(func) ZEND_API func __attribute__((target("avx2"))) argument
672 # define ZEND_INTRIN_AVX2_FUNC_DECL(func) func argument
692 # define ZEND_INTRIN_AVX512_FUNC_DECL(func) func argument
[all …]
/php-src/Zend/tests/dynamic_call/
H A Ddynamic_call_006.phpt8 $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 …]
/php-src/ext/reflection/tests/
H A D009.phpt15 $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 D025.phpt15 $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 Dbug48757.phpt13 $func = new ReflectionFunction('test');
14 $func->invoke();
16 $func = new ReflectionFunction('another_test');
17 $func->invoke('testing');
H A D010.phpt6 function func() {
10 function func() {
13 $m = ReflectionMethod::createFromMethodName("Bar::func");
17 Method [ <user, overwrites Foo, prototype Foo> public method func ] {
H A Dparameters_001.phpt7 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-src/ext/com_dotnet/tests/
H A Dbug33386.phpt14 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-src/Zend/tests/
H A Dbug48770.phpt7 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 Dbug62069_2.phpt7 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 Dbug62069.phpt7 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…
/php-src/Zend/Optimizer/
H A Doptimize_func_calls.c32 zend_function *func; member
81 if (func->type == ZEND_USER_FUNCTION in zend_try_inline_call()
86 && func->op_array.opcodes[func->op_array.num_args].opcode == ZEND_RETURN) { in zend_try_inline_call()
88 zend_op *ret_opline = func->op_array.opcodes + func->op_array.num_args; in zend_try_inline_call()
91 uint32_t i, num_args = func->op_array.num_args; in zend_try_inline_call()
95 && !(func->op_array.fn_flags & ZEND_ACC_STATIC)) { in zend_try_inline_call()
113 …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()
117 } while (i < func->op_array.num_args); in zend_try_inline_call()
140 if (!info->func) { in has_known_send_mode()
147 || arg_num <= info->func->common.num_args in has_known_send_mode()
[all …]
/php-src/main/
H A Dphp_ticks.c22 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-src/ext/pdo_sqlite/
H A Dsqlite_driver.c108 func->argc, in pdo_sqlite_cleanup_callbacks()
110 func, in pdo_sqlite_cleanup_callbacks()
115 if (ZEND_FCC_INITIALIZED(func->func)) { in pdo_sqlite_cleanup_callbacks()
116 zend_fcc_dtor(&func->func); in pdo_sqlite_cleanup_callbacks()
124 efree(func); in pdo_sqlite_cleanup_callbacks()
491 do_callback(&func->func, argc, argv, context, 0); in php_sqlite3_func_callback()
525 zend_fcc_dup(&func->func, &fcc); in pdo_sqlite_create_function_internal()
535 efree(func); in pdo_sqlite_create_function_internal()
706 if (ZEND_FCC_INITIALIZED(func->func)) { in pdo_sqlite_get_gc()
707 zend_get_gc_buffer_add_fcc(gc_buffer, &func->func); in pdo_sqlite_get_gc()
[all …]
/php-src/tests/classes/
H A Dabstract_user_call.phpt8 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-src/ext/dom/lexbor/lexbor/core/
H A Ddef.h22 #define LXB_DEPRECATED(func) __declspec(deprecated) func argument
24 #define LXB_DEPRECATED(func) func __attribute__((deprecated)) argument
26 #define LXB_DEPRECATED(func) func argument
/php-src/Zend/tests/generators/
H A Dbug76427.phpt5 $func = function () {
14 $func = $a->func = $func();
18 unset($func);
H A Daborted_yield_during_nested_fcalls.phpt6 function func() {}
9 func(func($x, $x, func($x, yield)));
/php-src/Zend/tests/closures/
H A Dclosure_033.phpt7 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
/php-src/ext/intl/common/
H A Dcommon_date.cpp37 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-src/Zend/tests/traits/
H A Dbug61998.phpt7 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-src/ext/pcntl/
H A Dphp_signal.c24 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-src/ext/zend_test/
H A Dobserver.c73 …(EX(opline) >= EX(func)->op_array.opcodes && EX(opline) < EX(func)->op_array.opcodes + EX(func)->o… in assert_observer_opline()
85 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin()
86 if (execute_data->func->common.scope) { in observer_begin()
135 if (execute_data->func && execute_data->func->common.function_name) { in observer_end()
138 if (execute_data->func->common.scope) { in observer_end()
167 if (UNEXPECTED(!ex->func)) { in observer_show_init_backtrace()
169 ZEND_ASSERT(ex->func); in observer_show_init_backtrace()
172 zend_function *fbc = ex->func; in observer_show_init_backtrace()
189 zend_function *fbc = execute_data->func; in observer_fcall_init()
289 zend_function *fbc = execute_data->func; in zend_test_execute_internal()
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c510 func = call->func; in zend_jit_trace_record_fake_init_call_ex()
513 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
520 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
526 if (!func in zend_jit_trace_record_fake_init_call_ex()
531 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
536 func = NULL; in zend_jit_trace_record_fake_init_call_ex()
913 zend_function *func = EX(call)->func; local
1078 && EX(func) == EX(prev_execute_data)->func
1120 func = EX(call)->func;
1140 if (!func
[all …]

Completed in 39 milliseconds

12345678910>>...14