Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CLI dynamic functions PHP class function reader

Status
Not open for further replies.

BB101

Programmer
May 23, 2001
337
GB
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
 
No-one? I've written half a function but I dont have my code with me atm. For some reason it works on one class i try, but not another... --BB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top