PHP - Gestione delle funzioni
Elenco delle funzioni
| Suor n | Descrizione della funzione |
|---|---|
| 1 | call_user_func ()
La funzione call_user_func () può chiamare una funzione utente data dal primo parametro. |
| 2 | call_user_func_array ()
La funzione call_user_func_array () chiama una funzione utente fornita con un array di parametri. |
| 3 | create_function ()
La funzione create_function () è una funzione incorporata che può essere utilizzata per creare una funzione anonima (in stile lambda). |
| 4 | forward_static_call ()
La funzione forward_static_call () può chiamare un metodo statico. |
| 5 | forward_static_call_array ()
La funzione forward_static_call_array () può chiamare un metodo statico e passare gli argomenti come un array. |
| 6 | func_get_arg ()
La funzione func_get_arg () può restituire un elemento da un elenco di argomenti. |
| 7 | func_get_args ()
La funzione func_get_args () può restituire un array che comprende l'elenco di argomenti di una funzione. |
| 8 | func_num_args ()
La funzione func_num_args () può restituire il numero di argomenti passati a una funzione. |
| 9 | function_exists ()
La funzione function_exists () può restituire true se una determinata funzione è stata definita. |
| 10 | get_defined_functions ()
La funzione get_defined_functions () può restituire un array di tutte le funzioni definite. |
| 11 | register_shutdown_function ()
La funzione register_shutdown_function () può registrare una funzione per l'esecuzione all'arresto. |
| 12 | register_tick_function ()
La funzione register_tick_function () può registrare una funzione da eseguire su ogni tick. |
| 13 | unregister_tick_function ()
La funzione unregister_tick_function () può annullare la registrazione di una funzione per l'esecuzione su ogni tick. |
