Home »
MCQs »
PHP MCQs
What is the syntax of PHP 'require' statement?
145. What is the syntax of PHP "require" statement?
- require {'filename'};
- <require 'filename'>;
- require <'filename'>;
- require 'filename';
Answer: D) require 'filename';
Explanation:
The syntax of the PHP “require” statement is:
require 'filename';