(I hope this isn't a stupid question)
Let's imagine that you have a PHP application that has lots of classes. In each of those classes there are lots and lots of functions for doing different things (checking forms, date and time calculations, instructions for making nuclear bombs etc). Let's further imagine that you have some webpages that might want to use some parts of some of those classes.
The question is this...
When you include all those classes at the top of your PHP script does PHP read and take on board all of the functions and what nought (surely that would really slow things down) OR does PHP merely keep a note of where the classes are incase it needs to reference them at some point?
I'm just trying to figure out if it would be foolish to include lots of classes at the start of a PHP script, even if most of that stuff won't be used.
Thanks!