Home
last modified time | relevance | path

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

12345678910>>...13

/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.h560 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) ZEND_API func __attribute__((target("ssse3"))) argument
562 # define ZEND_INTRIN_SSSE3_FUNC_DECL(func) func argument
585 # define ZEND_INTRIN_SSE4_2_FUNC_DECL(func) ZEND_API func __attribute__((target("sse4.2"))) argument
587 # define ZEND_INTRIN_SSE4_2_FUNC_DECL(func) func argument
611 # define ZEND_INTRIN_PCLMUL_FUNC_DECL(func) ZEND_API func __attribute__((target("pclmul"))) argument
613 # define ZEND_INTRIN_PCLMUL_FUNC_DECL(func) func argument
639 # define ZEND_INTRIN_SSE4_2_PCLMUL_FUNC_DECL(func) func argument
660 # define ZEND_INTRIN_AVX2_FUNC_DECL(func) ZEND_API func __attribute__((target("avx2"))) argument
662 # define ZEND_INTRIN_AVX2_FUNC_DECL(func) func argument
682 # define ZEND_INTRIN_AVX512_FUNC_DECL(func) func argument
[all …]
H A Dzend_execute_API.c501 zend_function *func; in get_active_class_name() local
534 zend_function *func; in get_active_function_name() local
564 zend_function *func = EX(func); in zend_active_function_ex() local
574 return func; in zend_active_function_ex()
587 if (func->common.scope && func->common.function_name) { in get_function_or_method_name()
609 if (!func || arg_num == 0 || func->common.num_args < arg_num) { in get_function_arg_name()
637 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename_ex()
657 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_lineno()
683 } else if (ex->func && (ZEND_USER_CODE(ex->func->type) || ex->func->common.scope)) { in zend_get_executed_scope()
776 zend_function *func; in zend_call_function() local
[all …]
/php-src/Zend/tests/
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 …]
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…
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/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 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);
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 ] {
/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/Optimizer/
H A Doptimize_func_calls.c32 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-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/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/pdo_sqlite/
H A Dsqlite_driver.c108 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()
501 do_callback(&func->afunc, &func->func, argc, argv, context, 0); in php_sqlite3_func_callback()
536 ZVAL_COPY(&func->func, &fci.function_name); in pdo_sqlite_create_function_internal()
546 efree(func); in pdo_sqlite_create_function_internal()
602 efree(func); in pdo_sqlite_create_aggregate_internal()
709 zend_get_gc_buffer_add_zval(gc_buffer, &func->func); in pdo_sqlite_get_gc()
[all …]
/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/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.c71 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 …]

Completed in 52 milliseconds

12345678910>>...13