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

Answer Posted / umapathi

include_once -it file is not exist it displays warning
message
in case of require_once-if the file is not exist it
displays fatal error

Is This Answer Correct ?    34 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the delimiters in php?

714


What is the use of post in php?

722


Write down the code for save an uploaded file in php.

731


What is the function of mysql_real_escape_string in php?

699


Which function can be used to delete a file?

857


Why die is used in php?

768


What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?

878


How would you declare a function that receives one parameter name hello?

757


Tell me which function gives us the number of affected entries by a query?

775


Tell me how do you execute a php script from the command line?

757


What is namespace and use in php?

748


Tell me how can we define a variable accessible in functions of a php script?

751


The left association operator % is used in PHP for?

791


Does php need apache?

702


What is the difference between unset and unlink?

752