Sr. PHP Programmer Question:
Download Questions PDF

What is the purpose of _FILE_ constant?


_FILE_ − The full path and filename of the file. If used inside an include,the name of the included file is returned. Since PHP 4.0.2, _FILE_ always contains an absolute path whereas in older versions it contained relative path under some circumstances.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How will you define a constant in PHP?require_once(), require(), include(). What is difference between them?