I was just wondering if anyone knew why I can't use require_once as a callback for array_walk. I can just include it in an anonymous function and run that, but it gives an invalid callback error for the usage:
$includes = array(
'file1.php',
'file2.php',
'file3.php'
);
array_walk($includes, 'require_once');
array_walk($includes, 'echo')asechois a language construct not a function.foreach()loop here?