Home
last modified time | relevance | path

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

/PHP-8.0/ext/zend_test/tests/
H A Dobserver_call_user_func_03.phpt19 function my_function()
21 echo 'my_function called' . PHP_EOL;
25 call_user_func('Test\\my_function');
35 <!-- init Test\my_function() -->
36 <Test\my_function>
37 my_function called
38 </Test\my_function>
H A Dobserver_call_user_func_01.phpt19 function my_function()
21 echo 'my_function called' . PHP_EOL;
26 call_user_func('Test\\my_function');
36 <!-- init Test\my_function() -->
37 <Test\my_function>
38 my_function called
39 </Test\my_function>
H A Dobserver_call_user_func_04.phpt19 function my_function(string $msg)
21 echo 'my_function ' . $msg . PHP_EOL;
25 call_user_func_array('Test\\my_function', ['called']);
35 <!-- init Test\my_function() -->
36 <Test\my_function>
37 my_function called
38 </Test\my_function>
H A Dobserver_call_user_func_02.phpt19 function my_function(string $msg)
21 echo 'my_function ' . $msg . PHP_EOL;
26 call_user_func_array('Test\\my_function', ['called']);
36 <!-- init Test\my_function() -->
37 <Test\my_function>
38 my_function called
39 </Test\my_function>
/PHP-8.0/Zend/
H A Dzend_closures.c129 zend_function my_function; in ZEND_METHOD() local
155 my_function.common.fn_flags &= ~ZEND_ACC_CLOSURE; in ZEND_METHOD()
157 my_function.common.scope = Z_OBJCE_P(newthis); in ZEND_METHOD()
161 fci_cache.function_handler = &my_function; in ZEND_METHOD()
164 if (ZEND_USER_CODE(my_function.type) in ZEND_METHOD()
169 my_function.op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in ZEND_METHOD()
171 ZEND_MAP_PTR_INIT(my_function.op_array.run_time_cache, ptr); in ZEND_METHOD()
173 ZEND_MAP_PTR_SET(my_function.op_array.run_time_cache, ptr); in ZEND_METHOD()
174 memset(ptr, 0, my_function.op_array.cache_size); in ZEND_METHOD()
195 } else if (ZEND_USER_CODE(my_function.type) in ZEND_METHOD()
[all …]

Completed in 20 milliseconds