Jump to content

[SOLVED] Some questions...


Gomesh

Recommended Posts

if include_once and include fail to "include" the file then the page continues to render where as if require or require_once fail the whole page stops rendering.

 

The difference between require and include and require_once and include_once is that using the "_once" functions means an extra look at the stack to ensure that these files have not already be included and is therefore slightly slower.

 

require_once is often helpful inside an __autoload function used to include classes when designing an OO php system.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.