What is the exact Diff. between include_once() and
require_once() in PHP?

Answer Posted / kedar haldikar

If the file specified with include_once() is not exist then
system displays warning where in the case of require_once()
system displays Fatal error in the client browsers window.

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php 5 still supported?

520


Which is faster for or foreach?

503


Tell me in php, objects are they passed by value or by reference?

524


What is smarty?

493


How are php sessions stored?

542






How to download and install php on windows?

601


Does php 7 support multiple inheritance?

509


How to use http headers inside php?

560


What is the use of ajax in php?

506


What is the difference between fopen() and fclose()?

582


How to take a substring from a given string in php?

514


What is ltrim?

509


Will php die?

522


What are the two types of variables?

524


How to protect special characters in query string?

528