What does __FILE__ in php mean?

In php there are a few magic constants and I find __FILE__ to be a very useful one.

It returns the full path and filename of the file in question.

Take a look at the PHP Manual – Magic Constants for more information on the others.


Leave a Reply

Your email address will not be published.