Re: [nyphp-talk] require_once paranoia?

2008-11-01 Thread Daniel Convissor
Hey Michael: On Sat, Nov 01, 2008 at 12:12:40PM -0400, Michael B Allen wrote: > > Why is this so? If you do not call require_once until you actually > need the class, I fail to see why __autoload would make any difference > as you still need to read the file from disk and interpret it either > wa

[nyphp-talk] require_once paranoia?

2008-11-01 Thread Michael B Allen
I've seen numerous references that calling require_once is slow. Zend Framework is very strict about not calling require_once unless absolutely necessary (e.g. for exceptions). In item 3 in this blog post: http://till.vox.com/library/post/zendframework-performance.html the author claims switch