I use a library file that contains my main class and all the functions I use.
class Functions{
// all my functions
}
$db = new Functions;
My library file that has the class of functions is getting fairly large... I think. It is about 350k in one file. I would like to group my functions, and add another level of includes to further breakdown the list.
I was thinking about doing it like this, but my assumption that "include" just drops in the text is not correct:
class Functions {
include('A_Functions.php');
include('B_Functions.php');
include('C_Functions.php');
}
Is there another way to do this?