I have the following array:
$bla = array (
'function1', 'function2'
);
Assume the following function exists:
function1
How would I call it using the variable? This doesn't work:
$bla[0]();
What is the correct syntax?
Update
Also, what is the correct way to call it if the function has parameters?