Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
require(), include() and include_once() Functions
What are the differences between require(), include() and include_once() functions in PHP?
✍: FYIcenter
All three functions are used to include and evaluate a
file into the current script execution.
The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again.
The major difference between include() and require() is that in failure include() produces a warning message whereas require() produces a fatal errors.
2007-02-27, 6073👍, 0💬
Popular Posts:
Are risk constant through out the project ? * Never say that risk is high through out the project. R...
what are the advantages of hosting WCF Services in IIS as compared to self hosting? There are two ma...
What Is the "@SuiteClasses" Annotation? "@SuiteClasses" is a class annotation defined in JUnit 4.4 i...
How To Compile a JUnit Test Class? Compiling a JUnit test class is like compiling any other Java cla...
How To Manage Transaction Isolation Level? - Oracle DBA FAQ - Introduction to PL/SQL Transaction iso...