PHP - Gestion des fonctions

Liste des fonctions

Sr. Non Description de la fonction
1 call_user_func ()

La fonction call_user_func () peut appeler une fonction utilisateur donnée par le premier paramètre.

2 call_user_func_array ()

La fonction call_user_func_array () appelle une fonction utilisateur fournie avec un tableau de paramètres.

3 create_function ()

La fonction create_function () est une fonction intégrée qui peut être utilisée pour créer une fonction anonyme (de style lambda).

4 forward_static_call ()

La fonction forward_static_call () peut appeler une méthode statique.

5 forward_static_call_array ()

La fonction forward_static_call_array () peut appeler une méthode statique et passer les arguments sous forme de tableau.

6 func_get_arg ()

La fonction func_get_arg () peut renvoyer un élément d'une liste d'arguments.

sept func_get_args ()

La fonction func_get_args () peut renvoyer un tableau comprenant la liste d'arguments d'une fonction.

8 func_num_args ()

La fonction func_num_args () peut renvoyer le nombre d'arguments passés à une fonction.

9 function_exists ()

La fonction function_exists () peut retourner true si une fonction donnée a été définie.

dix get_defined_functions ()

La fonction get_defined_functions () peut renvoyer un tableau de toutes les fonctions définies.

11 register_shutdown_function ()

La fonction register_shutdown_function () peut enregistrer une fonction pour exécution à l'arrêt.

12 register_tick_function ()

La fonction register_tick_function () peut enregistrer une fonction à exécuter à chaque tick.

13 unregister_tick_function ()

La fonction unregister_tick_function () peut désenregistrer une fonction pour exécution à chaque tick.