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

Answer Posted / maish

both include external file accept

there is failer i smajor difference
in inclde give warning after failure and in requre
give fatal error stop execution file

Is This Answer Correct ?    6 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in javascript?

620


How to remove white spaces from the beginning and/or the end of a string in php?

618


What is the use of is_array() and in_array()?

642


Define urlencode() and urldecode() used in php?

664


What is the difference between rest and soap?

637






What is warning – “cannot modify header information – headers already sent”?

718


What is the use of anonymous function in php?

624


What does namespace mean in php?

648


Difference between mysql_connect and mysql_pconnect?

582


How to find the index of an element in an array php?

601


What is the $_ server php_self variable?

570


What is compact function php?

606


What is include in php?

622


What is the difference between echo print and print_r in php?

615


Write a program in php to find the occurrence of a word in a string?

714