> include_once is a real performance drag.  You should use better program
> logic to make it possible to use a regular include call.

That is news to me.  Why is include_once a performance drag?  What is
the better programming logic, that doesn't just duplicate the
behavior?

I have always just used include_once because it is more similar to the
import statement from other languages.  My assumption is that calling
include_once hundreds of times on the same file, is not as bad as
accidentally importing twice, but I don't have any data to back that
up.

Regards,
John Campbell
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to