in reply to Searching for an alternative to $0
print __FILE__ . "[" . __LINE__ ."] Hi there\n"; [download]