Hello,
One major difference in PHP vs. ASP is dynamic includes. Also I notice that with ASP, when you include a file, it will check out the syntax of the include file at run-time, as if you had one big page. PHP, however, only checks the syntax when the page is called (unless, I think, if you use require() instead).
Suppose I had a large family of error checking functions (check valid email, valid IP address, valid domain name, valid phone number, zip code, etc. etc.) but made those functions individual pages include files. Would this produce a faster page since the page will only get compiled when its function is called? Seems it would cut down on processing.
Let me know if I'm on the right track here and if there are any other thoughts in this department.
Sam Fullman
Compass Point Media