PHP Classes and includes
Posted: Sun Jun 04, 2006 3:40 pm
i was hoping to hear some good news on this.
i wanted to know if i would be able to force PHP to not load up certain things and only load things that i want it to load.
for instance in C and C++ you have to actually tell it which code and libraries you want from the code base. for instance #include <string.h>. in PHP this is already loaded for you.
of course my own libraries i have to do this myself but that is just the same as in PHP. i was hoping to have it so that PHP only includes what i want it to include. nothing less nothing more. i think that would be great for many people and it would be less bloated. much faster too. granted PHP is pretty fast now, it would be nice. i like control over my applications
i wanted to know if i would be able to force PHP to not load up certain things and only load things that i want it to load.
for instance in C and C++ you have to actually tell it which code and libraries you want from the code base. for instance #include <string.h>. in PHP this is already loaded for you.
of course my own libraries i have to do this myself but that is just the same as in PHP. i was hoping to have it so that PHP only includes what i want it to include. nothing less nothing more. i think that would be great for many people and it would be less bloated. much faster too. granted PHP is pretty fast now, it would be nice. i like control over my applications