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

How values in arrays are indexed?

674


Is php used in 2019?

620


What is button in html?

631


Is empty java?

638


Tell me what should we do to be able to export data into an excel file?

601






How many open modes available when a file open in PHP?

729


What is php programming used for?

584


What sized websites have you worked on in the past?

625


Which are the best start and end tags to use?

669


What is input sanitization in php?

622


What version of php do I have windows?

581


what is difference between PHP4 , PHP5

1976


What is an array in php?

694


Can we run php in apache tomcat?

608


Why php is also called as scripting language?

618