Hi all.
Just a couple of questions regarding functions. I'm currently putting up a site that requires a table template to contain information for the site. Now, for the questions:
- Are nested functions supported by PHP?
- If so, if I were to construct a function nested in a function, could I declare the name of the function to be executed within the arguements of the parent function?
(Ex. function_1_name($subfunction_name))
Therefore, the code would be as follows:
function function_one($subfunction_one)
{
$subfunction_one();
}
is this code possible?