call_user_func_array <<< |
call_user_func | create_function >>> |
6.12 Fonctions 6 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Constantes pré-définies . call_user_func_array ->call_user_func . create_function . func_get_arg . func_get_args . func_num_args . function_exists . get_defined_functions . register_shutdown_function . register_tick_function . unregister_tick_function |
6.12.7 call_user_func() Appelle une fonction utilisateur[ Exemples avec call_user_func ] PHP 3 >= 3.0.3, PHP 4, PHP 5 mixed call_user_func ( callback function , mixed parameter , mixed ... )call_user_func appelle la fonction utilisateur function_name , et lui passe les paramètres parameter .
Les méthodes d'objets peuvent être appelées statiquement en passant array($objectname, $methodname) au paramètre function .
Voir aussi is_callable , call_user_func_array et information à propos de callback type. |
<< | call_user_func | >> |
call_user_func_array | Fonctions | create_function |