Home
last modified time | relevance | path

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

1234567891011

/PHP-7.0/Zend/
H A Dzend_closures.c42 zend_function func; member
54 zend_function *func = EX(func); in ZEND_METHOD() local
69 efree(func); in ZEND_METHOD()
79 zend_function *func = &closure->func; in zend_valid_closure_binding() local
86 if (func->type == ZEND_INTERNAL_FUNCTION && func->common.scope && in zend_valid_closure_binding()
95 } else if (!(func->common.fn_flags & ZEND_ACC_STATIC) && func->common.scope in zend_valid_closure_binding()
234 …if (ZEND_USER_CODE(closure->func.type) && (closure->func.common.scope != new_closure->func.common.… in ZEND_METHOD()
553 EX(func) = NULL; in zend_closure_internal_handler()
572 memcpy(&closure->func, func, sizeof(zend_op_array)); in zend_create_closure()
584 memset(func->op_array.run_time_cache, 0, func->op_array.cache_size); in zend_create_closure()
[all …]
H A Dzend_execute_API.c252 zend_function *func; in shutdown_executor() local
418 zend_function *func; in get_active_class_name() local
427 func = EG(current_execute_data)->func; in get_active_class_name()
455 func = EG(current_execute_data)->func; in get_active_function_name()
480 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename()
495 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename_ex()
510 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_lineno()
795 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function()
818 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function()
927 efree(func); in zend_call_function()
[all …]
H A Dzend_builtin_functions.c1530 RETURN_BOOL(func && (func->type != ZEND_INTERNAL_FUNCTION || in ZEND_FUNCTION()
1982 if (!func) { in ZEND_FUNCTION()
2350 if (skip->func && ZEND_USER_CODE(skip->func->common.type)) { in ZEND_FUNCTION()
2372 func = call->func; in ZEND_FUNCTION()
2384 func = NULL; in ZEND_FUNCTION()
2479 if (prev->func && ZEND_USER_CODE(prev->func->common.type)) { in ZEND_FUNCTION()
2516 if (!ptr->func || !ZEND_USER_CODE(ptr->func->common.type)) { in zend_fetch_debug_backtrace()
2559 if (skip->func && ZEND_USER_CODE(skip->func->common.type)) { in zend_fetch_debug_backtrace()
2602 func = call->func; in zend_fetch_debug_backtrace()
2606 (object ? object->ce : func->common.scope), func) : in zend_fetch_debug_backtrace()
[all …]
/PHP-7.0/ext/reflection/tests/
H A D009.phpt15 $func = new ReflectionFunction("test");
17 var_dump($func->export("test"));
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.phpt17 $func = new ReflectionFunction("test");
19 var_dump($func->export("test"));
21 var_dump($func->getName());
23 var_dump($func->isInternal());
25 var_dump($func->isUserDefined());
27 var_dump($func->getFilename());
29 var_dump($func->getStartline());
31 var_dump($func->getEndline());
33 var_dump($func->getDocComment());
41 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.phpt8 function func() {
12 function func() {
15 $m = new ReflectionMethod("Bar::func");
19 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');
/PHP-7.0/ext/com_dotnet/tests/
H A Dbug33386.phpt13 public function func1() { echo " func one\n"; }
14 public function func2() { echo " func two\n"; }
25 $oScript->ExecuteStatement ("tfA.func$i");
26 $oScript->ExecuteStatement ("func$i");
30 $oScript->ExecuteStatement ("tfB.func$i");
37 func one
38 func one
39 func two
40 func two
41 func one
[all …]
/PHP-7.0/ext/opcache/Optimizer/
H A Doptimize_func_calls.c37 zend_function *func; member
60 zend_function *func; in optimize_func_calls() local
62 if ((func = zend_hash_find_ptr(&ctx->script->function_table, in optimize_func_calls()
64 call_stack[call].func = func; in optimize_func_calls()
82 if (call_stack[call].func && call_stack[call].opline) { in optimize_func_calls()
104 call_stack[call].func = NULL; in optimize_func_calls()
110 if (call_stack[call - 1].func) { in optimize_func_calls()
128 if (call_stack[call - 1].func) { in optimize_func_calls()
129 if (ARG_MUST_BE_SENT_BY_REF(call_stack[call - 1].func, opline->op2.num)) { in optimize_func_calls()
138 if (call_stack[call - 1].func) { in optimize_func_calls()
[all …]
/PHP-7.0/ext/spl/
H A Dspl_engine.h35 zend_function *func = pce->constructor; in spl_instantiate_arg_ex1() local
38 …zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.f… in spl_instantiate_arg_ex1()
46 zend_function *func = pce->constructor; in spl_instantiate_arg_ex2() local
49 …zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.f… in spl_instantiate_arg_ex2()
57 zend_function *func = pce->constructor; in spl_instantiate_arg_n() local
66 ZVAL_STR(&fci.function_name, func->common.function_name); in spl_instantiate_arg_n()
75 fcc.function_handler = func; in spl_instantiate_arg_n()
/PHP-7.0/main/
H A Dphp_ticks.c26 void (*func)(int, void *); member
50 return e1->func == e2->func && e1->arg == e2->arg; in php_compare_tick_functions()
53 PHPAPI void php_add_tick_function(void (*func)(int, void*), void * arg) in php_add_tick_function()
55 struct st_tick_function tmp = {func, arg}; in php_add_tick_function()
59 PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg) in php_remove_tick_function()
61 struct st_tick_function tmp = {func, arg}; in php_remove_tick_function()
68 data->func(*((int *)arg), data->arg); in php_tick_iterator()
/PHP-7.0/Zend/tests/
H A Dbug48770.phpt9 public function func($str) {
24 public function func($str) {
28 print "This method shouldn't be called when using parent::func!\n";
32 call_user_func_array(array($this, 'parent::func'), array($str));
43 public function func($str) {
44 parent::func($str);
49 $c->func('This should work!');
53 %unicode|string%(26) "A::func: This should work!"
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 context '' in %sclosure_033.p…
H A Dget_defined_functions_basic.phpt23 $func = get_defined_functions();
25 if (!is_array($func)) {
30 if (!is_array($func["internal"])) {
34 $internal = $func["internal"];
42 if (!is_array($func["user"])) {
46 $user = $func["user"];
/PHP-7.0/tests/classes/
H A Dabstract_user_call.phpt8 abstract function func();
13 function func()
21 $o->func();
23 call_user_func(array($o, 'test_base::func'));
28 test::func()
30 … parameter 1 to be a valid callback, cannot call abstract method test_base::func() in %s on line %d
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_driver.c114 func->argc, in pdo_sqlite_cleanup_callbacks()
116 func, in pdo_sqlite_cleanup_callbacks()
121 if (!Z_ISUNDEF(func->func)) { in pdo_sqlite_cleanup_callbacks()
122 zval_ptr_dtor(&func->func); in pdo_sqlite_cleanup_callbacks()
130 efree(func); in pdo_sqlite_cleanup_callbacks()
451 do_callback(&func->afunc, &func->func, argc, argv, context, 0); in php_sqlite3_func_callback()
543 func = (struct pdo_sqlite_func*)ecalloc(1, sizeof(*func)); in PHP_METHOD()
550 ZVAL_COPY(&func->func, callback); in PHP_METHOD()
560 efree(func); in PHP_METHOD()
619 func = (struct pdo_sqlite_func*)ecalloc(1, sizeof(*func)); in PHP_METHOD()
[all …]
/PHP-7.0/ext/intl/common/
H A Dcommon_date.cpp42 const char *func) argument
67 "that's too large", func);
110 intl_error *err, const char *func) argument
132 "object", func);
149 "initialized", func);
159 datetime, 1, NULL, func);
162 "time zone", func);
209 intl_datetime_decompose(z, &rv, NULL, err, func);
214 "constructed", func);
223 "Calendar::getTime() has failed", func);
[all …]
/PHP-7.0/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-7.0/tests/lang/
H A Dbug17115.phpt5 $func = create_function('','
9 var_dump($func());
10 var_dump($func());
11 var_dump($func());
/PHP-7.0/Zend/tests/generators/
H A Daborted_yield_during_nested_fcalls.phpt6 function func() {}
9 func(func($x, $x, func($x, yield)));
/PHP-7.0/ext/pcntl/
H A Dphp_signal.c28 Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all) in php_signal4() argument
33 act.sa_handler = func; in php_signal4()
61 Sigfunc *php_signal(int signo, Sigfunc *func, int restart) in php_signal() argument
63 return php_signal4(signo, func, restart, 0); in php_signal()
/PHP-7.0/ext/intl/tests/
H A Dbadargs.phpt11 foreach($funcs as $func) {
12 $rfunc = new ReflectionFunction($func);
18 $res = $func($arg);
25 echo "$func: ";
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_print.c211 PHPDBG_PRINT(func) /* {{{ */ in PHPDBG_PRINT() argument
268 if (!func) { in phpdbg_print_opcodes_function()
270 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, func) { in phpdbg_print_opcodes_function()
272 …if (func->op_array.function_name->len == len && !zend_binary_strcasecmp(function, len, func->op_ar… in phpdbg_print_opcodes_function()
281 …phpdbg_out("function name: %.*s\n", (int) ZSTR_LEN(func->op_array.function_name), ZSTR_VAL(func->o… in phpdbg_print_opcodes_function()
282 phpdbg_print_function_helper(func); in phpdbg_print_opcodes_function()
286 zend_function *func; in phpdbg_print_opcodes_method_ce() local
298 phpdbg_print_function_helper(func); in phpdbg_print_opcodes_method_ce()
385 zend_function *func; in phpdbg_print_opcodes() local
390 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), name, func) { in phpdbg_print_opcodes()
[all …]
/PHP-7.0/ext/sqlite3/tests/
H A Dsqlite3_29_createfunction.phpt10 $func = 'strtoupper';
11 var_dump($db->createfunction($func, $func));
18 var_dump($db->createfunction($func, $func2));

Completed in 79 milliseconds

1234567891011