I am writing a set of services for IRC in PHP (daring
, and I want to be able to reload parts of the program without having to reload the whole thing (i.e, run it from the cmd prompt again). I've read about create_function and fully understand it and have working examples.
I've decided it will be easier to manage, code and develop the dynamic function to be within class's. However, I need a piece of code that can read a php file and get all the functions out of the class (there will only be one class per file).
Thanks --BB
I've decided it will be easier to manage, code and develop the dynamic function to be within class's. However, I need a piece of code that can read a php file and get all the functions out of the class (there will only be one class per file).
Thanks --BB