What is the syntax of PHP 'require' statement?

145. What is the syntax of PHP "require" statement?

  1. require {'filename'};
  2. <require 'filename'>;
  3. require <'filename'>;
  4. require 'filename';

Answer: D) require 'filename';

Explanation:

The syntax of the PHP “require” statement is:

require 'filename';

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.