Saturday, September 19, 2009

Avoid require_once and include_once

I have working on my own framework and in that framework contains many library files.
In many library files we are using require_onces.
Now we little optimized in this also using require because require_once is more heavy then require.
Try to avoid require_once or inculde_once.
May be you doing this because of lazy inclusion.

No comments:

Post a Comment