I have a loop that iterates through values in an array.
for ($i = 0; $i < count($tables); $i++) {
$tables[$i]['form'] = function() {
// function stuff
};
}
How can I now call my functions using the values from the array as the function names?