Log in Register

Login to your account

Username
Password *
Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Name
Username
Password *
Verify password *
Email *
Verify email *
Phone *
City
Country *
1.jpg

0


How failures in execution are handled with include() and require() functions?


Submitted by grydarmoa38 On Saturday, 05 September 2015.

Category: PHP Tags: PHP interview questions and answers for freshers


Question

How failures in execution are handled with include() and require() functions?

1 Answers.
 

0


If the function require() cannot access to the file then it ends with a fatal error. However, the include() function gives a warning and the PHP script continues to execute.
Submitted by frederickp On Saturday, 05 September 2015
Answer :-
If the function require() cannot access to the file then it ends with a fatal error. However, the include() function gives a warning and the PHP script continues to execute.

1.jpg
Go to top