Beginner PHP
Q17 / 100

What does the include statement do?

Correct! Well done.

Incorrect.

The correct answer is B) Includes a file and continues on failure with a warning

B

Correct Answer

Includes a file and continues on failure with a warning

Explanation

include gives a warning but continues if the file is not found. require gives a fatal error and halts. include_once and require_once prevent multiple inclusions.

Progress
17/100