0 votes
136 views
in PHP by (98.9k points)
edited

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

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
If the function require() cannot access the file then it ends with a fatal error. However, the include() function gives a warning, and the PHP script continues to execute.

Related questions

0 votes
1 answer 144 views
0 votes
1 answer 136 views
0 votes
1 answer 134 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 213 views
asked Oct 9, 2022 in PHP by MrRam (2.0k points)
0 votes
1 answer 137 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

559 users

...