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

Answer Posted / basha

include_once -it file is not exist it displays warning
message and continue the program

in case of require_once-if the file is not exist it
displays fatal error and terminate the prgram

Is This Answer Correct ?    21 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of mysql_real_escape_string in php?

443


Is echo a function in php?

503


How to enable cURL in PHP?

648


Write a php script to get the largest key in an array?

512


How to get ip address of a server in php?

541






What is php and its features?

523


Php code to find whether a number armstrong or not?

538


How we get ip address of client, previous reference page etc?

555


When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?

545


How to make a class in php?

539


What are the benefits of using php and mysql?

506


Which function is used to read a single character from a file in PHP.

557


Which operator is used to combine string values in php?

498


What is pdo classes?

558


What is cakephp framework?

526