in reply to Searching for an alternative to $0
Update I just re-read what you wrote. __FILE__ might be more of what you're looking for.
duff