[eluser]Nummero2[/eluser]
Thanks but still no luck, now I´m getting the following as a dump in firefox:
"array(0) { } array(0) { } array(0) { } array(0) { } array(0) { } array(0) { } array(0) { } array(0) { } array(0) { }"
Code:
$helpers = glob(APPPATH.'helpers/*_helper.php');
$i=0;
foreach ($helpers as $line) {
preg_match('/^function (.+?)\(/',$line,$matches_array);
$test = $matches_array;
echo var_dump( $test );
$i++;
}
What I still don´t get is where am I defining for what function syntax namely 'xxx_helper_test' I´m searching? So now it seems reasonable to me that i am just getting empty arrays because he doesn´t even know for what he should search.
Greetings Sebastian