Q. Which PHP function returns the current script filename?

  • (A) __FILE__
  • (B) getcwd()
  • (C) script_name()
  • (D) php_self()
πŸ’¬ Discuss
βœ… Correct Answer: (A) __FILE__
Explanation: __FILE__ returns the full path and filename of the current file.
Explanation by: Mr. Dubey
__FILE__ returns the full path and filename of the current file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
40
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate