You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking for a while for a way to get the currently running file, and came across __FILE__ which seems to do exactly what I want. However, I don't see it documented anywhere. Before I publish any code using it, I'd like to make sure that __FILE__ is an official feature that can be used in production code.
If not, is there another way to do what I want?
The text was updated successfully, but these errors were encountered:
I've been looking for a while for a way to get the currently running file, and came across
__FILE__
which seems to do exactly what I want. However, I don't see it documented anywhere. Before I publish any code using it, I'd like to make sure that__FILE__
is an official feature that can be used in production code.If not, is there another way to do what I want?
The text was updated successfully, but these errors were encountered: