Having come from a C++ and VB environment, I am used to placing common functions in a module, and then calling them from that module as needed.
Does PHP support this modular concept? IOW, if I develop a function to deal with, say, formatting of phone numbers, is there any way to place this function in a "PHP" module and call it as necessary from that module?
Right now, I must resort to placing the function in every .php file where it is needed. Seems silly to me.