Home
last modified time | relevance | path

Searched refs:my_function (Results 1 – 5 of 5) sorted by relevance

/PHP-8.4/ext/zend_test/tests/
H A Dobserver_call_user_func_03.phpt20 function my_function()
22 echo 'my_function called' . PHP_EOL;
26 call_user_func('Test\\my_function');
40 <!-- init Test\my_function() -->
41 <Test\my_function>
42 my_function called
43 </Test\my_function>
H A Dobserver_call_user_func_01.phpt20 function my_function()
22 echo 'my_function called' . PHP_EOL;
27 call_user_func('Test\\my_function');
37 <!-- init Test\my_function() -->
38 <Test\my_function>
39 my_function called
40 </Test\my_function>
H A Dobserver_call_user_func_04.phpt20 function my_function(string $msg)
22 echo 'my_function ' . $msg . PHP_EOL;
26 call_user_func_array('Test\\my_function', ['called']);
40 <!-- init Test\my_function() -->
41 <Test\my_function>
42 my_function called
43 </Test\my_function>
H A Dobserver_call_user_func_02.phpt20 function my_function(string $msg)
22 echo 'my_function ' . $msg . PHP_EOL;
27 call_user_func_array('Test\\my_function', ['called']);
37 <!-- init Test\my_function() -->
38 <Test\my_function>
39 my_function called
40 </Test\my_function>
/PHP-8.4/Zend/
H A Dzend_closures.c169 zend_function *my_function; in ZEND_METHOD() local
177 my_function = &fake_closure->func; in ZEND_METHOD()
179 memcpy(my_function, &closure->func, sizeof(zend_op_array)); in ZEND_METHOD()
184 my_function->common.scope = newclass; in ZEND_METHOD()
188 fci_cache.function_handler = my_function; in ZEND_METHOD()
191 if (ZEND_USER_CODE(my_function->type) in ZEND_METHOD()
196 my_function->op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in ZEND_METHOD()
197 ptr = emalloc(my_function->op_array.cache_size); in ZEND_METHOD()
199 memset(ptr, 0, my_function->op_array.cache_size); in ZEND_METHOD()
204 if (ZEND_USER_CODE(my_function->type)) { in ZEND_METHOD()
[all …]

Completed in 10 milliseconds