I'd like to write a function like:
function f(){ ... bla ...}
f_example(f);
function f_example($func tion_to_execute )
{...bla... $function_to_ex ecute() ...bla....}
AND how to pass the variable of the function :
function f_example($func tion_to_execute ($var1,$var2))
{...bla... $function_to_ex ecute() ...bla....}
Thank you in advance for the time you'll spend for me,
Andrea.
function f(){ ... bla ...}
f_example(f);
function f_example($func tion_to_execute )
{...bla... $function_to_ex ecute() ...bla....}
AND how to pass the variable of the function :
function f_example($func tion_to_execute ($var1,$var2))
{...bla... $function_to_ex ecute() ...bla....}
Thank you in advance for the time you'll spend for me,
Andrea.
Comment