Join Up!
104887 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previouscall_user_func_arraycreate_functionnext
Last updated: Sun, 27 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Finnish | German | Spanish

call_user_func

(PHP 3>= 3.0.3, PHP 4 )

call_user_func -- Zavolat uživatelskou funkci určenou prvním argumentem

Popis

mixed call_user_func ( string function_name [, mixed parameter [, mixed ...]])

Zavolá uživatelsky definouvanou funkci určenou argumentem function_name. Zvažte následující ukázku:

function barber ($type) {
    print "You wanted a $type haircut, no problem";
}
call_user_func ('barber', "mushroom");
call_user_func ('barber', "shave");

User Contributed Notes
call_user_func
add a note about notes
There are no user contributed notes for this page.
previouscall_user_func_arraycreate_functionnext
Last updated: Sun, 27 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST