call_user_func_array <<< |
call_user_func | create_function >>> |
7.34 Fonctions 7 Index des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Constantes prédefinies . 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 |
7.34.7 call_user_func() Appelle une fonction utilisateur[ Exemples avec call_user_func ] PHP 3>= 3.0.3, PHP 4 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 call_user_func_array , call_user_method et call_user_method_array . |
<< | call_user_func | >> |
call_user_func_array | Fonctions | create_function |