Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 5422👍, 0💬
Popular Posts:
Have you ever worked with Microsoft Application Blocks, if yes then which? Application Blocks are C#...
What's difference between HashTable and ArrayList ? You can access array using INDEX value of array,...
How To Set Up Breakpoints in Debug Mode? - Oracle DBA FAQ - Introduction to Oracle SQL Developer To ...
Can you explain different software development life cycles -part II? Water Fall Model This is the ol...
What Happens If the UPDATE Subquery Returns Multiple Rows? - Oracle DBA FAQ - Understanding SQL DML ...