Collect Functions from Filenames

Posted by wizanda on 1205925079
In both JavaScript and PHP we have lots of Functions for making things work, wouldn't it be nice to add these when and how we needed for the task involved?
So my question is does anyone know the code for a PHP Function Caller, that works on collecting the name of the Function from the filename and the data of that Function contained in the file.
Then the same in JavaScript to collect Functions from filenames also...

This would mean you could have folders for those Function files and through additional files, could add any virtual task with allot less hacking for most web-development globally.

This Post was from: https://www.wizanda.com/newbb/viewtopic.php?topic_id=1452&post_id=3532