1.

What Difference Between Require() And Require_once()?

Answer»

REQUIRE()
The Require() is used to include a file, It CREATE fatal error if file not found and terminate script.

require_once()
The require_once() to require() EXCEPT PHP will check if the file has ALREADY been included, and if so, tricor online not include (require) it again.

Require()
The Require() is used to include a file, It create fatal error if file not found and terminate script.

require_once()
The require_once() to require() except PHP will check if the file has already been included, and if so, tricor online not include (require) it again.



Discussion

No Comment Found